pub struct MetricsSnapshot {Show 18 fields
pub total_queries: u64,
pub successful_matches: u64,
pub failed_matches: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub cache_evictions: u64,
pub negative_cache_hits: u64,
pub cache_hit_rate: f64,
pub success_rate: f64,
pub avg_processing_time_ms: f64,
pub peak_processing_time_ms: f64,
pub throughput_rps: f64,
pub records_scanned: u64,
pub memory_usage_bytes: usize,
pub cpf_matches: u64,
pub cnpj_matches: u64,
pub fuzzy_matches: u64,
pub cross_source_matches: u64,
}Expand description
Snapshot of metrics at a point in time
Fields§
§total_queries: u64§successful_matches: u64§failed_matches: u64§cache_hits: u64§cache_misses: u64§cache_evictions: u64§negative_cache_hits: u64§cache_hit_rate: f64§success_rate: f64§avg_processing_time_ms: f64§peak_processing_time_ms: f64§throughput_rps: f64§records_scanned: u64§memory_usage_bytes: usize§cpf_matches: u64§cnpj_matches: u64§fuzzy_matches: u64§cross_source_matches: u64Trait Implementations§
Source§impl Clone for MetricsSnapshot
impl Clone for MetricsSnapshot
Source§fn clone(&self) -> MetricsSnapshot
fn clone(&self) -> MetricsSnapshot
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 MetricsSnapshot
impl Debug for MetricsSnapshot
Source§impl Display for MetricsSnapshot
impl Display for MetricsSnapshot
Auto Trait Implementations§
impl Freeze for MetricsSnapshot
impl RefUnwindSafe for MetricsSnapshot
impl Send for MetricsSnapshot
impl Sync for MetricsSnapshot
impl Unpin for MetricsSnapshot
impl UnsafeUnpin for MetricsSnapshot
impl UnwindSafe for MetricsSnapshot
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