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