pub struct AnomalyData {
pub anomaly_id: String,
pub anomaly_type: String,
pub value: f64,
pub population_mean: f64,
pub population_std: f64,
pub parent_anomaly_id: Option<String>,
pub scheme_id: Option<String>,
pub participants: Vec<String>,
}Expand description
Anomaly data for realism validation.
Fields§
§anomaly_id: StringAnomaly identifier.
anomaly_type: StringAnomaly type/category.
value: f64The anomalous value.
population_mean: f64Mean of the normal population.
population_std: f64Standard deviation of the normal population.
parent_anomaly_id: Option<String>Parent anomaly ID for cascaded anomalies.
scheme_id: Option<String>Scheme identifier for multi-stage schemes.
participants: Vec<String>Participants involved in this anomaly.
Trait Implementations§
Source§impl Clone for AnomalyData
impl Clone for AnomalyData
Source§fn clone(&self) -> AnomalyData
fn clone(&self) -> AnomalyData
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 moreAuto Trait Implementations§
impl Freeze for AnomalyData
impl RefUnwindSafe for AnomalyData
impl Send for AnomalyData
impl Sync for AnomalyData
impl Unpin for AnomalyData
impl UnwindSafe for AnomalyData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.