Struct google_ondemandscanning1::api::UpgradeDistribution[][src]

pub struct UpgradeDistribution {
    pub classification: Option<String>,
    pub cpe_uri: Option<String>,
    pub cve: Option<Vec<String>>,
    pub severity: Option<String>,
}

The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.

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

Fields

classification: Option<String>

The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)

cpe_uri: Option<String>

Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.

cve: Option<Vec<String>>

The cve tied to this Upgrade.

severity: Option<String>

The severity as specified by the upstream operating system.

Trait Implementations

impl Clone for UpgradeDistribution[src]

impl Debug for UpgradeDistribution[src]

impl Default for UpgradeDistribution[src]

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

impl Part for UpgradeDistribution[src]

impl Serialize for UpgradeDistribution[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.