Enum npm_parser::audit::Severity  
source · pub enum Severity {
    None,
    Info,
    Low,
    Moderate,
    High,
    Critical,
}Expand description
Severity of vulnerabilities
Variants§
None
no need to take action
Info
just informational
Low
low severity
Moderate
moderate severity
High
high severity
Critical
critical severity
Trait Implementations§
source§impl<'de> Deserialize<'de> for Severity
 
impl<'de> Deserialize<'de> for Severity
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 Severity
 
impl Ord for Severity
source§impl PartialEq for Severity
 
impl PartialEq for Severity
source§impl PartialOrd for Severity
 
impl PartialOrd for Severity
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moreimpl Eq for Severity
impl StructuralPartialEq for Severity
Auto Trait Implementations§
impl Freeze for Severity
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnwindSafe for Severity
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