pub struct DriftReport {
pub dimension_scores: [f64; 7],
pub composite_score: f64,
pub breached: bool,
pub threshold: f64,
pub window_secs: u64,
pub event_count: usize,
pub conservative_mode_required: bool,
}Expand description
Snapshot of the engine’s current drift state.
Fields§
§dimension_scores: [f64; 7]Per-dimension accumulated scores within the rolling window.
composite_score: f64Weighted composite score.
breached: boolWhether the composite score meets or exceeds the threshold.
threshold: f64The configured composite threshold.
window_secs: u64The configured rolling window duration.
event_count: usizeNumber of events currently in the window.
conservative_mode_required: boolWhether Conservative Mode should be activated.
Trait Implementations§
Source§impl Clone for DriftReport
impl Clone for DriftReport
Source§fn clone(&self) -> DriftReport
fn clone(&self) -> DriftReport
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 DriftReport
impl Debug for DriftReport
Source§impl<'de> Deserialize<'de> for DriftReport
impl<'de> Deserialize<'de> for DriftReport
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 DriftReport
impl RefUnwindSafe for DriftReport
impl Send for DriftReport
impl Sync for DriftReport
impl Unpin for DriftReport
impl UnsafeUnpin for DriftReport
impl UnwindSafe for DriftReport
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