pub enum CVESeverity {
None,
Low,
Medium,
High,
Critical,
}Expand description
CVE severity levels
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CVESeverity
impl Clone for CVESeverity
Source§fn clone(&self) -> CVESeverity
fn clone(&self) -> CVESeverity
Returns a duplicate of the value. Read more
1.0.0 · 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 CVESeverity
impl Debug for CVESeverity
Source§impl<'de> Deserialize<'de> for CVESeverity
impl<'de> Deserialize<'de> for CVESeverity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for CVESeverity
impl Ord for CVESeverity
Source§fn cmp(&self, other: &CVESeverity) -> Ordering
fn cmp(&self, other: &CVESeverity) -> Ordering
1.21.0 · 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 CVESeverity
impl PartialEq for CVESeverity
Source§impl PartialOrd for CVESeverity
impl PartialOrd for CVESeverity
Source§impl Serialize for CVESeverity
impl Serialize for CVESeverity
impl Copy for CVESeverity
impl Eq for CVESeverity
impl StructuralPartialEq for CVESeverity
Auto Trait Implementations§
impl Freeze for CVESeverity
impl RefUnwindSafe for CVESeverity
impl Send for CVESeverity
impl Sync for CVESeverity
impl Unpin for CVESeverity
impl UnwindSafe for CVESeverity
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