pub struct BulkInsertStats
pub records_inserted: i64,
pub records_updated: i64,
pub records_failed: i64,
pub elapsed_ms: u64,
pub records_per_second: f64,
Statistics from a bulk insert operation.
This struct is returned by bulk insert methods in SqlClient and KineticaSqlxPool to provide information about the operation’s results.
Fields
records_inserted: i64Number of records successfully inserted
records_updated: i64Number of records updated (for upsert mode)
records_failed: i64Number of records that failed to insert
elapsed_ms: u64Total elapsed time in milliseconds
records_per_second: f64Records per second
Trait Implementations
Source
impl Clone for BulkInsertStats
Source
fn clone(&self) -> BulkInsertStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource
impl Debug for BulkInsertStats
Source
impl Default for BulkInsertStats
Source
fn default() -> BulkInsertStats
Returns the “default value” for a type. Read more