pub enum RiskSeverity {
Informational,
Low,
Medium,
High,
Critical,
}Expand description
Risk severity labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RiskSeverity
impl Clone for RiskSeverity
Source§fn clone(&self) -> RiskSeverity
fn clone(&self) -> RiskSeverity
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 RiskSeverity
impl Debug for RiskSeverity
Source§impl Display for RiskSeverity
impl Display for RiskSeverity
Source§impl FromStr for RiskSeverity
impl FromStr for RiskSeverity
Source§type Err = SecurityRiskError
type Err = SecurityRiskError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<RiskSeverity, <RiskSeverity as FromStr>::Err>
fn from_str(input: &str) -> Result<RiskSeverity, <RiskSeverity as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for RiskSeverity
impl Hash for RiskSeverity
Source§impl Ord for RiskSeverity
impl Ord for RiskSeverity
Source§fn cmp(&self, other: &RiskSeverity) -> Ordering
fn cmp(&self, other: &RiskSeverity) -> Ordering
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 PartialEq for RiskSeverity
impl PartialEq for RiskSeverity
Source§fn eq(&self, other: &RiskSeverity) -> bool
fn eq(&self, other: &RiskSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RiskSeverity
impl PartialOrd for RiskSeverity
impl Copy for RiskSeverity
impl Eq for RiskSeverity
impl StructuralPartialEq for RiskSeverity
Auto Trait Implementations§
impl Freeze for RiskSeverity
impl RefUnwindSafe for RiskSeverity
impl Send for RiskSeverity
impl Sync for RiskSeverity
impl Unpin for RiskSeverity
impl UnsafeUnpin for RiskSeverity
impl UnwindSafe for RiskSeverity
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