pub enum RiskLevel {
Low,
Medium,
High,
Critical,
Unknown,
Custom(String),
}Expand description
Descriptive risk level vocabulary.
Variants§
Low
Low risk level.
Medium
Medium risk level.
High
High risk level.
Critical
Critical risk level.
Unknown
Unknown risk level.
Custom(String)
Caller-defined risk level.
Trait Implementations§
Source§impl Ord for RiskLevel
impl Ord for RiskLevel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for RiskLevel
impl PartialOrd for RiskLevel
impl Eq for RiskLevel
impl StructuralPartialEq for RiskLevel
Auto Trait Implementations§
impl Freeze for RiskLevel
impl RefUnwindSafe for RiskLevel
impl Send for RiskLevel
impl Sync for RiskLevel
impl Unpin for RiskLevel
impl UnsafeUnpin for RiskLevel
impl UnwindSafe for RiskLevel
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