pub struct InsertStats {
pub inserted: usize,
pub deduplicated: usize,
pub skipped_no_timestamp: usize,
}Expand description
Outcome of an insert batch, surfaced to the CLI for progress output (“lines ingested / lines skipped per second”, per milestone 6).
Fields§
§inserted: usizeRows newly added to the index.
deduplicated: usizeRows rejected by INSERT OR IGNORE because their raw_hash already
existed — the dedup path per the decisions log.
skipped_no_timestamp: usizeRows rejected because they had no timestamp. See module docs.
Trait Implementations§
Source§impl Clone for InsertStats
impl Clone for InsertStats
Source§fn clone(&self) -> InsertStats
fn clone(&self) -> InsertStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InsertStats
impl Debug for InsertStats
Source§impl Default for InsertStats
impl Default for InsertStats
Source§fn default() -> InsertStats
fn default() -> InsertStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for InsertStats
impl PartialEq for InsertStats
impl Copy for InsertStats
impl Eq for InsertStats
impl StructuralPartialEq for InsertStats
Auto Trait Implementations§
impl Freeze for InsertStats
impl RefUnwindSafe for InsertStats
impl Send for InsertStats
impl Sync for InsertStats
impl Unpin for InsertStats
impl UnsafeUnpin for InsertStats
impl UnwindSafe for InsertStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more