Skip to main content
pub struct BatchingStats 
    pub insert_count: u64,
    pub records_inserted: i64,
    pub records_updated: i64,
    pub flush_count: u64,
    pub elapsed_ms: u64,
    pub records_per_second: f64,

Statistics from batched SQL execution

Fields

insert_count: u64

Total INSERT statements executed

records_inserted: i64

Total records inserted via BulkInserter

records_updated: i64

Total records updated (for upsert mode)

flush_count: u64

Number of batch flushes performed

elapsed_ms: u64

Total elapsed time in milliseconds

records_per_second: f64

Records per second throughput

Trait Implementations

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 more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Converts to this type from the input type.