pub struct AnomalyEvent {
pub anomaly_type: AnomalyType,
pub severity: Severity,
pub description: String,
pub timestamp: u64,
pub metadata: Option<String>,
}Expand description
Anomaly event
Fields§
§anomaly_type: AnomalyTypeAnomaly type
severity: SeveritySeverity
description: StringDescription
timestamp: u64Timestamp
metadata: Option<String>Additional data
Trait Implementations§
Source§impl Clone for AnomalyEvent
impl Clone for AnomalyEvent
Source§fn clone(&self) -> AnomalyEvent
fn clone(&self) -> AnomalyEvent
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 AnomalyEvent
impl Debug for AnomalyEvent
Source§impl<'de> Deserialize<'de> for AnomalyEvent
impl<'de> Deserialize<'de> for AnomalyEvent
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 AnomalyEvent
impl RefUnwindSafe for AnomalyEvent
impl Send for AnomalyEvent
impl Sync for AnomalyEvent
impl Unpin 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