Struct rustsec::advisory::affected::Affected[][src]

pub struct Affected {
    pub arch: Vec<Arch>,
    pub os: Vec<OS>,
    pub functions: Map<FunctionPath, Vec<VersionReq>>,
}

The [affected] subsection of an advisory: additional metadata detailing the specifics of what is impacted by this advisory (e.g. operating systems, what functions in the crate)

Fields

arch: Vec<Arch>

CPU architectures that this vulnerability is specific to

os: Vec<OS>

Operating systems that this vulnerability is specific to

functions: Map<FunctionPath, Vec<VersionReq>>

Paths to types and/or functions containing vulnerable code, enumerated as canonical Rust paths (i.e. starting with the crate name), sans any path parameters.

(e.g. mycrate::path::to::VulnerableStruct::vulnerable_func)

Trait Implementations

impl Clone for Affected[src]

impl Debug for Affected[src]

impl<'de> Deserialize<'de> for Affected[src]

impl Eq for Affected[src]

impl PartialEq<Affected> for Affected[src]

impl Serialize for Affected[src]

impl StructuralEq for Affected[src]

impl StructuralPartialEq for Affected[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.