pub struct AnomalyEvent {
pub value: f64,
pub score: f64,
pub expected: f64,
pub timestamp: u64,
pub metric_id: u64,
}Expand description
Represents a detected anomaly
Fields§
§value: f64The anomalous value
score: f64Anomaly score (e.g., number of MAD/std devs)
expected: f64Expected value (median or mean)
timestamp: u64Timestamp (if applicable)
metric_id: u64Metric identifier
Trait Implementations§
Source§impl Clone for AnomalyEvent
impl Clone for AnomalyEvent
Auto Trait Implementations§
impl Freeze for AnomalyEvent
impl RefUnwindSafe for AnomalyEvent
impl Send for AnomalyEvent
impl Sync for AnomalyEvent
impl Unpin for AnomalyEvent
impl UnsafeUnpin for AnomalyEvent
impl UnwindSafe for AnomalyEvent
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