pub struct InjectorStats {
pub total_processed: usize,
pub total_injected: usize,
pub by_category: HashMap<String, usize>,
pub by_type: HashMap<String, usize>,
pub by_company: HashMap<String, usize>,
pub skipped_rate: usize,
pub skipped_date: usize,
pub skipped_company: usize,
pub skipped_max_per_doc: usize,
}Expand description
Injection statistics tracking.
Fields§
§total_processed: usizeTotal number of entries processed.
total_injected: usizeTotal number of anomalies injected.
by_category: HashMap<String, usize>Anomalies injected by category (e.g., “Fraud”, “Error”).
by_type: HashMap<String, usize>Anomalies injected by specific type name.
by_company: HashMap<String, usize>Anomalies injected by company code.
skipped_rate: usizeEntries skipped due to rate check.
skipped_date: usizeEntries skipped due to date range filter.
skipped_company: usizeEntries skipped due to company filter.
skipped_max_per_doc: usizeEntries skipped due to max-anomalies-per-document limit.
Trait Implementations§
Source§impl Clone for InjectorStats
impl Clone for InjectorStats
Source§fn clone(&self) -> InjectorStats
fn clone(&self) -> InjectorStats
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 InjectorStats
impl Debug for InjectorStats
Source§impl Default for InjectorStats
impl Default for InjectorStats
Source§fn default() -> InjectorStats
fn default() -> InjectorStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InjectorStats
impl RefUnwindSafe for InjectorStats
impl Send for InjectorStats
impl Sync for InjectorStats
impl Unpin for InjectorStats
impl UnsafeUnpin for InjectorStats
impl UnwindSafe for InjectorStats
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