pub struct TemporalAnomaly {
pub id: TemporalId,
pub anomaly_type: AnomalyType,
pub severity: f64,
pub involved_entities: Vec<TemporalId>,
pub description: String,
pub resolutions: Vec<Resolution>,
pub detected_at: DateTime<Utc>,
}Expand description
An anomaly detected in the temporal graph.
Fields§
§id: TemporalIdUnique identifier.
anomaly_type: AnomalyTypeType of anomaly.
severity: f64Severity (0.0-1.0).
involved_entities: Vec<TemporalId>Entities involved in this anomaly.
description: StringHuman-readable description.
resolutions: Vec<Resolution>Possible resolutions.
detected_at: DateTime<Utc>When the anomaly was detected.
Trait Implementations§
Source§impl Clone for TemporalAnomaly
impl Clone for TemporalAnomaly
Source§fn clone(&self) -> TemporalAnomaly
fn clone(&self) -> TemporalAnomaly
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 TemporalAnomaly
impl Debug for TemporalAnomaly
Source§impl<'de> Deserialize<'de> for TemporalAnomaly
impl<'de> Deserialize<'de> for TemporalAnomaly
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 TemporalAnomaly
impl RefUnwindSafe for TemporalAnomaly
impl Send for TemporalAnomaly
impl Sync for TemporalAnomaly
impl Unpin for TemporalAnomaly
impl UnsafeUnpin for TemporalAnomaly
impl UnwindSafe for TemporalAnomaly
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