[][src]Struct google_containeranalysis1_beta1::Detail

pub struct Detail {
    pub severity_name: Option<String>,
    pub cpe_uri: Option<String>,
    pub description: Option<String>,
    pub min_affected_version: Option<Version>,
    pub package: Option<String>,
    pub package_type: Option<String>,
    pub is_obsolete: Option<bool>,
    pub max_affected_version: Option<Version>,
    pub fixed_location: Option<VulnerabilityLocation>,
}

Identifies all appearances of this vulnerability in the package for a specific distro/location. For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2

This type is not used in any activity, and only used as part of another schema.

Fields

severity_name: Option<String>

The severity (eg: distro assigned severity) for this vulnerability.

cpe_uri: Option<String>

Required. The CPE URI in cpe format in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.

description: Option<String>

A vendor-specific description of this note.

min_affected_version: Option<Version>

The min version of the package in which the vulnerability exists.

package: Option<String>

Required. The name of the package where the vulnerability was found.

package_type: Option<String>

The type of package; whether native or non native(ruby gems, node.js packages etc).

is_obsolete: Option<bool>

Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.

max_affected_version: Option<Version>

Deprecated, do not use. Use fixed_location instead.

The max version of the package in which the vulnerability exists.

fixed_location: Option<VulnerabilityLocation>

The fix for this specific package version.

Trait Implementations

impl Part for Detail[src]

impl Default for Detail[src]

impl Clone for Detail[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Detail[src]

impl Serialize for Detail[src]

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

Auto Trait Implementations

impl Send for Detail

impl Unpin for Detail

impl Sync for Detail

impl UnwindSafe for Detail

impl RefUnwindSafe for Detail

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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