Enum npm_parser::audit::Action  
source · pub enum Action {
    Install {
        resolves: Vec<Resolves>,
        module: String,
        depth: Option<u32>,
        target: String,
        is_major: bool,
    },
    Update {
        resolves: Vec<Resolves>,
        module: String,
        depth: Option<u32>,
        target: String,
    },
    Review {
        resolves: Vec<Resolves>,
        module: String,
        depth: Option<u32>,
    },
}Expand description
Actions to perform to fix security issues
Variants§
Install
Fields
install a new package
Update
Fields
update a package
Review
Fields
review code using a package
Trait Implementations§
source§impl<'de> Deserialize<'de> for Action
 
impl<'de> Deserialize<'de> for Action
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 Action
 
impl Ord for Action
source§impl PartialEq for Action
 
impl PartialEq for Action
source§impl PartialOrd for Action
 
impl PartialOrd for Action
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 Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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