pub struct DriftRecorderSummary {
pub total_events: usize,
pub by_category: HashMap<String, usize>,
pub by_difficulty: HashMap<String, usize>,
pub avg_magnitude: f64,
}Expand description
Summary statistics for drift recording.
Fields§
§total_events: usizeTotal number of events.
by_category: HashMap<String, usize>Events by category.
by_difficulty: HashMap<String, usize>Events by detection difficulty.
avg_magnitude: f64Average magnitude.
Trait Implementations§
Source§impl Clone for DriftRecorderSummary
impl Clone for DriftRecorderSummary
Source§fn clone(&self) -> DriftRecorderSummary
fn clone(&self) -> DriftRecorderSummary
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 DriftRecorderSummary
impl Debug for DriftRecorderSummary
Source§impl<'de> Deserialize<'de> for DriftRecorderSummary
impl<'de> Deserialize<'de> for DriftRecorderSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DriftRecorderSummary
impl RefUnwindSafe for DriftRecorderSummary
impl Send for DriftRecorderSummary
impl Sync for DriftRecorderSummary
impl Unpin for DriftRecorderSummary
impl UnsafeUnpin for DriftRecorderSummary
impl UnwindSafe for DriftRecorderSummary
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