pub enum AnomalyCausalReason {
RandomRate {
base_rate: f64,
},
TemporalPattern {
pattern_name: String,
},
EntityTargeting {
target_type: String,
target_id: String,
},
ClusterMembership {
cluster_id: String,
},
ScenarioStep {
scenario_type: String,
step_number: u32,
},
DataQualityProfile {
profile: String,
},
MLTrainingBalance {
target_class: String,
},
}Expand description
Causal reason explaining why an anomaly was injected.
This enables provenance tracking for understanding the “why” behind each anomaly.
Variants§
RandomRate
Injected due to random rate selection.
TemporalPattern
Injected due to temporal pattern matching.
EntityTargeting
Injected based on entity targeting rules.
Fields
ClusterMembership
Part of an anomaly cluster.
ScenarioStep
Part of a multi-step scenario.
Fields
DataQualityProfile
Injected based on data quality profile.
MLTrainingBalance
Injected for ML training balance.
Trait Implementations§
Source§impl Clone for AnomalyCausalReason
impl Clone for AnomalyCausalReason
Source§fn clone(&self) -> AnomalyCausalReason
fn clone(&self) -> AnomalyCausalReason
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 AnomalyCausalReason
impl Debug for AnomalyCausalReason
Source§impl<'de> Deserialize<'de> for AnomalyCausalReason
impl<'de> Deserialize<'de> for AnomalyCausalReason
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
Source§impl PartialEq for AnomalyCausalReason
impl PartialEq for AnomalyCausalReason
Source§impl Serialize for AnomalyCausalReason
impl Serialize for AnomalyCausalReason
impl StructuralPartialEq for AnomalyCausalReason
Auto Trait Implementations§
impl Freeze for AnomalyCausalReason
impl RefUnwindSafe for AnomalyCausalReason
impl Send for AnomalyCausalReason
impl Sync for AnomalyCausalReason
impl Unpin for AnomalyCausalReason
impl UnwindSafe for AnomalyCausalReason
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