pub struct Finding {
pub detector: String,
pub class: AnomalyClass,
pub handle: Handle,
pub confidence: f64,
pub severity: Severity,
pub score: f64,
pub reason: String,
pub col_type: Option<ColType>,
}Expand description
One detected anomaly with everything an agent needs to act or drill in.
Fields§
§detector: StringDetector that produced this finding (stable id).
class: AnomalyClass§handle: Handle§confidence: f64Calibrated confidence in [0, 1].
severity: Severity§score: f64Raw detector score, before calibration (e.g. a z-score). Interpretation is detector-specific; kept for evidence, not comparison across detectors.
reason: StringShort, human/agent-readable reason. No prose padding.
col_type: Option<ColType>Optional column type context, for structural findings.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Finding
impl<'de> Deserialize<'de> for Finding
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 Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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