[][src]Struct google_containeranalysis1_beta1::GrafeasV1beta1VulnerabilityDetails

pub struct GrafeasV1beta1VulnerabilityDetails {
    pub cvss_score: Option<f32>,
    pub severity: Option<String>,
    pub short_description: Option<String>,
    pub long_description: Option<String>,
    pub related_urls: Option<Vec<RelatedUrl>>,
    pub package_issue: Option<Vec<PackageIssue>>,
    pub effective_severity: Option<String>,
    pub type_: Option<String>,
}

Details of a vulnerability Occurrence.

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

Fields

cvss_score: Option<f32>

Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.

severity: Option<String>

Output only. The note provider assigned Severity of the vulnerability.

short_description: Option<String>

Output only. A one sentence description of this vulnerability.

long_description: Option<String>

Output only. A detailed description of this vulnerability.

related_urls: Option<Vec<RelatedUrl>>

Output only. URLs related to this vulnerability.

package_issue: Option<Vec<PackageIssue>>

Required. The set of affected locations and their fixes (if available) within the associated resource.

effective_severity: Option<String>

The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.

type_: Option<String>

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

Trait Implementations

impl Part for GrafeasV1beta1VulnerabilityDetails[src]

impl Default for GrafeasV1beta1VulnerabilityDetails[src]

impl Clone for GrafeasV1beta1VulnerabilityDetails[src]

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

Performs copy-assignment from source. Read more

impl Debug for GrafeasV1beta1VulnerabilityDetails[src]

impl Serialize for GrafeasV1beta1VulnerabilityDetails[src]

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

Auto Trait Implementations

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]