Struct rustsec::Vulnerability [−][src]
pub struct Vulnerability {
pub advisory: Metadata,
pub versions: Versions,
pub affected: Option<Affected>,
pub package: Package,
}Expand description
A vulnerable package and the associated advisory
Fields
advisory: MetadataSecurity advisory for which the package is vulnerable
versions: VersionsVersions impacted by this vulnerability
affected: Option<Affected>More specific information about what this advisory affects (if available)
package: PackageVulnerable package
Implementations
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Vulnerability
impl Send for Vulnerability
impl Sync for Vulnerability
impl Unpin for Vulnerability
impl UnwindSafe for Vulnerability
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.