pub enum RuleStatus {
Proposed,
Active,
Dormant,
Settled,
Dead,
Superseded,
}Expand description
Rule lifecycle status (immune system model).
Variants§
Proposed
First observation, needs confirmation (pattern repeated 2x to activate).
Active
Pattern confirmed, rule is enforced.
Dormant
TTL window passed without trigger; rule is suspended.
Settled
Long dormant, near death.
Dead
TTL expired completely; rule is archived.
Superseded
Contradicted by a newer rule with the same trigger.
Trait Implementations§
Source§impl Clone for RuleStatus
impl Clone for RuleStatus
Source§fn clone(&self) -> RuleStatus
fn clone(&self) -> RuleStatus
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 moreSource§impl Debug for RuleStatus
impl Debug for RuleStatus
Source§impl<'de> Deserialize<'de> for RuleStatus
impl<'de> Deserialize<'de> for RuleStatus
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 Display for RuleStatus
impl Display for RuleStatus
impl Eq for RuleStatus
Source§impl PartialEq for RuleStatus
impl PartialEq for RuleStatus
Source§impl Serialize for RuleStatus
impl Serialize for RuleStatus
impl StructuralPartialEq for RuleStatus
Auto Trait Implementations§
impl Freeze for RuleStatus
impl RefUnwindSafe for RuleStatus
impl Send for RuleStatus
impl Sync for RuleStatus
impl Unpin for RuleStatus
impl UnsafeUnpin for RuleStatus
impl UnwindSafe for RuleStatus
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.