Struct google_ondemandscanning1::api::PackageIssue[][src]

pub struct PackageIssue {
    pub affected_cpe_uri: Option<String>,
    pub affected_package: Option<String>,
    pub affected_version: Option<Version>,
    pub fix_available: Option<bool>,
    pub fixed_cpe_uri: Option<String>,
    pub fixed_package: Option<String>,
    pub fixed_version: Option<Version>,
}

A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).

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

Fields

affected_cpe_uri: Option<String>

Required. The CPE URI this vulnerability was found in.

affected_package: Option<String>

Required. The package this vulnerability was found in.

affected_version: Option<Version>

Required. The version of the package that is installed on the resource affected by this vulnerability.

fix_available: Option<bool>

Output only. Whether a fix is available for this package.

fixed_cpe_uri: Option<String>

The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.

fixed_package: Option<String>

The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.

fixed_version: Option<Version>

Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.

Trait Implementations

impl Clone for PackageIssue[src]

impl Debug for PackageIssue[src]

impl Default for PackageIssue[src]

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

impl Part for PackageIssue[src]

impl Serialize for PackageIssue[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<T> From<T> 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.