pub enum IntentTier {
Unknown,
Read,
Write,
Admin,
}Expand description
The classified privilege tier of a session’s declared intent. Used to determine which operation types are anomalous.
Precedence: Admin > Write > Read > Unknown. If multiple keyword sets match, the highest tier wins.
Variants§
Unknown
No intent keywords matched. Anomaly detection skipped.
Read
Read-only intent: write/delete/admin ops are anomalous.
Write
Write intent: admin ops are anomalous, read/write/delete are normal.
Admin
Admin intent: delete ops flagged, all others normal.
Trait Implementations§
Source§impl Clone for IntentTier
impl Clone for IntentTier
Source§fn clone(&self) -> IntentTier
fn clone(&self) -> IntentTier
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 IntentTier
impl Debug for IntentTier
Source§impl PartialEq for IntentTier
impl PartialEq for IntentTier
impl Copy for IntentTier
impl Eq for IntentTier
impl StructuralPartialEq for IntentTier
Auto Trait Implementations§
impl Freeze for IntentTier
impl RefUnwindSafe for IntentTier
impl Send for IntentTier
impl Sync for IntentTier
impl Unpin for IntentTier
impl UnsafeUnpin for IntentTier
impl UnwindSafe for IntentTier
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