Struct rustsec::warning::Warning [−][src]
pub struct Warning {
pub kind: Kind,
pub package: Package,
pub advisory: Option<Metadata>,
pub versions: Option<Versions>,
}
Expand description
Warnings sourced from the Advisory DB
Fields
kind: Kind
Kind of warning
package: Package
Name of the dependent package
advisory: Option<Metadata>
Source advisory
versions: Option<Versions>
Versions impacted by this warning
Implementations
Create Warning
of the given kind
Is this a warning about an unmaintained
crate?
Is this a warning about an unsound
crate?
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
Auto Trait Implementations
impl RefUnwindSafe for Warning
impl UnwindSafe for Warning
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more