pub struct ChangeFeedReport {
pub aggregate_classification: ChangeClassification,
pub aggregate_score: f64,
pub noise_targets: Vec<String>,
pub suspected_targets: Vec<String>,
pub probable_targets: Vec<String>,
pub events: Vec<ChangeEvent>,
pub thresholds: ChangeFeedThresholds,
}Expand description
Aggregated change-feed report for a single detection cycle.
The report carries:
- the aggregate classification (the worst per-target band);
- the per-target lists grouped by band;
- the emitted
ChangeEventrecords; - the threshold configuration the detector used (so downstream consumers can audit the banding decision without consulting the detector config separately).
Fields§
§aggregate_classification: ChangeClassificationWorst per-target band across the cycle.
aggregate_score: f64Highest per-target score across the cycle.
noise_targets: Vec<String>Targets scored below noise_ceiling.
suspected_targets: Vec<String>Targets scored between noise_ceiling and
probable_floor.
probable_targets: Vec<String>Targets scored at or above probable_floor.
events: Vec<ChangeEvent>Emitted events, one per Suspected /
Probable target.
thresholds: ChangeFeedThresholdsThresholds the detector used for this cycle.
Implementations§
Source§impl ChangeFeedReport
impl ChangeFeedReport
Sourcepub const fn has_actionable_events(&self) -> bool
pub const fn has_actionable_events(&self) -> bool
Whether the report contains any events that should be surfaced to operators.
Sourcepub const fn target_count(&self) -> usize
pub const fn target_count(&self) -> usize
Total target count (noise + suspected + probable).
Trait Implementations§
Source§impl Clone for ChangeFeedReport
impl Clone for ChangeFeedReport
Source§fn clone(&self) -> ChangeFeedReport
fn clone(&self) -> ChangeFeedReport
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 ChangeFeedReport
impl Debug for ChangeFeedReport
Source§impl<'de> Deserialize<'de> for ChangeFeedReport
impl<'de> Deserialize<'de> for ChangeFeedReport
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 ChangeFeedReport
impl PartialEq for ChangeFeedReport
Source§impl Serialize for ChangeFeedReport
impl Serialize for ChangeFeedReport
impl StructuralPartialEq for ChangeFeedReport
Auto Trait Implementations§
impl Freeze for ChangeFeedReport
impl RefUnwindSafe for ChangeFeedReport
impl Send for ChangeFeedReport
impl Sync for ChangeFeedReport
impl Unpin for ChangeFeedReport
impl UnsafeUnpin for ChangeFeedReport
impl UnwindSafe for ChangeFeedReport
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