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