pub struct VulnerablePackage {
    pub name: String,
    pub severity: Severity,
    pub is_direct: bool,
    pub via: Vec<Vulnerability>,
    pub effects: Vec<String>,
    pub range: String,
    pub nodes: Vec<String>,
    pub fix_available: Fix,
}
Expand description

The details for a single vulnerable package

Fields

name: String

Package name

severity: Severity

The severity of the vulnerabilities

is_direct: bool

is this a direct dependency

via: Vec<Vulnerability>

the vulnerabilities that make this a vulnerable package

effects: Vec<String>

not sure what htis means

range: String

affected version range

nodes: Vec<String>

not sure what this means

fix_available: Fix

is there a fix available

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more