Struct npm_parser::audit::MetadataV2  
source · pub struct MetadataV2 {
    pub vulnerabilities: VulnerabilityCountsV2,
    pub dependencies: DependencyCounts,
}Expand description
The vulnerability and dependency counts returned by npm-audit in report version 2
Fields§
§vulnerabilities: VulnerabilityCountsV2Vulnerability counts
dependencies: DependencyCountsDependency counts
Trait Implementations§
source§impl Debug for MetadataV2
 
impl Debug for MetadataV2
source§impl<'de> Deserialize<'de> for MetadataV2
 
impl<'de> Deserialize<'de> for MetadataV2
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
Auto Trait Implementations§
impl Freeze for MetadataV2
impl RefUnwindSafe for MetadataV2
impl Send for MetadataV2
impl Sync for MetadataV2
impl Unpin for MetadataV2
impl UnwindSafe for MetadataV2
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