pub struct BatchingSqlxStats
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 batching operations.
Fields
insert_count: u64Number of INSERT statements processed
records_inserted: i64Total records inserted
records_updated: i64Total records updated (for upsert)
flush_count: u64Number of flush operations
elapsed_ms: u64Total elapsed time in milliseconds
records_per_second: f64Records per second throughput
Trait Implementations
Source
impl Clone for BatchingSqlxStats
Source
fn clone(&self) -> BatchingSqlxStats
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 BatchingSqlxStats
Source
impl Default for BatchingSqlxStats
Source
fn default() -> BatchingSqlxStats
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.