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: u64Total INSERT statements executed
records_inserted: i64Total records inserted via BulkInserter
records_updated: i64Total records updated (for upsert mode)
flush_count: u64Number of batch flushes performed
elapsed_ms: u64Total elapsed time in milliseconds
records_per_second: f64Records per second throughput
Trait Implementations
Source
impl Clone for BatchingStats
Source
fn clone(&self) -> BatchingStats
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 BatchingStats
Source
impl Default for BatchingStats
Source
fn default() -> BatchingStats
Returns the “default value” for a type. Read more
Source
impl From<BatchingStats> for BatchingSqlxStats
Source
fn from(s: BatchingStats) -> Self
Converts to this type from the input type.