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