pub struct AnomalyScore {
pub score: f64,
pub is_anomalous: bool,
pub confidence: f64,
}Expand description
Anomaly score from behavioral analysis
Fields§
§score: f64Anomaly score (0.0 = normal, 1.0 = highly anomalous)
is_anomalous: boolWhether this is classified as anomalous
confidence: f64Confidence in the classification
Implementations§
Trait Implementations§
Source§impl Clone for AnomalyScore
impl Clone for AnomalyScore
Source§fn clone(&self) -> AnomalyScore
fn clone(&self) -> AnomalyScore
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 AnomalyScore
impl Debug for AnomalyScore
Source§impl<'de> Deserialize<'de> for AnomalyScore
impl<'de> Deserialize<'de> for AnomalyScore
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 AnomalyScore
impl RefUnwindSafe for AnomalyScore
impl Send for AnomalyScore
impl Sync for AnomalyScore
impl Unpin for AnomalyScore
impl UnwindSafe for AnomalyScore
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