pub struct AnomalyReport {
pub field: FieldPath,
pub schema_id: SchemaId,
pub signal: AnomalySignal,
pub severity: AnomalySeverity,
pub reason: String,
}Expand description
One anomaly emitted by FieldAnomalyDetector::observe.
Fields§
§field: FieldPathField path the anomaly was observed on.
schema_id: SchemaIdSchema the field belongs to (for downstream filtering).
signal: AnomalySignalWhat kind of anomaly.
severity: AnomalySeveritySeverity rating (Info / Warning / Error).
reason: StringHuman-readable explanation.
Trait Implementations§
Source§impl Clone for AnomalyReport
impl Clone for AnomalyReport
Source§fn clone(&self) -> AnomalyReport
fn clone(&self) -> AnomalyReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnomalyReport
impl Debug for AnomalyReport
Source§impl<'de> Deserialize<'de> for AnomalyReport
impl<'de> Deserialize<'de> for AnomalyReport
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 AnomalyReport
impl PartialEq for AnomalyReport
Source§fn eq(&self, other: &AnomalyReport) -> bool
fn eq(&self, other: &AnomalyReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AnomalyReport
impl Serialize for AnomalyReport
impl StructuralPartialEq for AnomalyReport
Auto Trait Implementations§
impl Freeze for AnomalyReport
impl RefUnwindSafe for AnomalyReport
impl Send for AnomalyReport
impl Sync for AnomalyReport
impl Unpin for AnomalyReport
impl UnsafeUnpin for AnomalyReport
impl UnwindSafe for AnomalyReport
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