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