pub enum IntegrityRiskClassification {
Clean,
Suspected,
Confirmed,
}Expand description
Aggregate risk classification.
Three bands, mapped from the score via
IntegrityCanaryPolicy::classify:
Clean— score below the suspected threshold.Suspected— score at or above the suspected threshold but below the confirmed threshold.Confirmed— score at or above the confirmed threshold.
Suspected is the explicit “anti-bot may be probing for stealth
artefacts but is not yet blocking” band. Confirmed is the
“anti-bot has enough signal to block — refresh the session”
band.
Variants§
Clean
Score is below the suspected threshold. No trap signal.
Suspected
Score is at or above the suspected threshold but below the confirmed threshold. Ambiguous trap signal.
Confirmed
Score is at or above the confirmed threshold. Deterministic trap signal — treat as a stealth regression.
Implementations§
Trait Implementations§
Source§impl Clone for IntegrityRiskClassification
impl Clone for IntegrityRiskClassification
Source§fn clone(&self) -> IntegrityRiskClassification
fn clone(&self) -> IntegrityRiskClassification
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 moreimpl Copy for IntegrityRiskClassification
Source§impl Debug for IntegrityRiskClassification
impl Debug for IntegrityRiskClassification
Source§impl<'de> Deserialize<'de> for IntegrityRiskClassification
impl<'de> Deserialize<'de> for IntegrityRiskClassification
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
impl Eq for IntegrityRiskClassification
Source§impl Hash for IntegrityRiskClassification
impl Hash for IntegrityRiskClassification
Source§impl PartialEq for IntegrityRiskClassification
impl PartialEq for IntegrityRiskClassification
Source§fn eq(&self, other: &IntegrityRiskClassification) -> bool
fn eq(&self, other: &IntegrityRiskClassification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IntegrityRiskClassification
Auto Trait Implementations§
impl Freeze for IntegrityRiskClassification
impl RefUnwindSafe for IntegrityRiskClassification
impl Send for IntegrityRiskClassification
impl Sync for IntegrityRiskClassification
impl Unpin for IntegrityRiskClassification
impl UnsafeUnpin for IntegrityRiskClassification
impl UnwindSafe for IntegrityRiskClassification
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