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 · 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 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
Source§impl Hash for IntegrityRiskClassification
impl Hash for IntegrityRiskClassification
impl Copy for IntegrityRiskClassification
impl Eq for IntegrityRiskClassification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.