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