pub struct DriftThresholds {
pub density_warning_pct: f64,
pub density_info_pct: f64,
pub blocked_increase_threshold: i64,
pub actionable_decrease_pct: f64,
pub structure_change_pct: f64,
pub ranking_change_threshold: usize,
}Expand description
Tunable thresholds for drift detection severity levels.
All percentage values are positive (e.g., 50.0 = 50%).
Fields§
§density_warning_pct: f64Density growth >= this % triggers a warning.
density_info_pct: f64Density growth >= this % triggers an info alert.
blocked_increase_threshold: i64Blocked count increase >= this count triggers a warning.
actionable_decrease_pct: f64Actionable count decrease >= this % triggers a warning.
structure_change_pct: f64Node/edge count change >= this % triggers a warning.
ranking_change_threshold: usizeTop-N ranking items changed >= this count triggers a warning.
Trait Implementations§
Source§impl Clone for DriftThresholds
impl Clone for DriftThresholds
Source§fn clone(&self) -> DriftThresholds
fn clone(&self) -> DriftThresholds
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 DriftThresholds
impl Debug for DriftThresholds
Auto Trait Implementations§
impl Freeze for DriftThresholds
impl RefUnwindSafe for DriftThresholds
impl Send for DriftThresholds
impl Sync for DriftThresholds
impl Unpin for DriftThresholds
impl UnsafeUnpin for DriftThresholds
impl UnwindSafe for DriftThresholds
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