Struct gapi_grpc::grafeas::v1beta1::vulnerability::Details[][src]

pub struct Details {
    pub type: String,
    pub severity: i32,
    pub cvss_score: f32,
    pub package_issue: Vec<PackageIssue>,
    pub short_description: String,
    pub long_description: String,
    pub related_urls: Vec<RelatedUrl>,
    pub effective_severity: i32,
}

Details of a vulnerability Occurrence.

Fields

type: String

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

severity: i32

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

cvss_score: 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.

package_issue: Vec<PackageIssue>

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

short_description: String

Output only. A one sentence description of this vulnerability.

long_description: String

Output only. A detailed description of this vulnerability.

related_urls: Vec<RelatedUrl>

Output only. URLs related to this vulnerability.

effective_severity: i32

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.

Implementations

impl Details[src]

pub fn severity(&self) -> Severity[src]

Returns the enum value of severity, or the default if the field is set to an invalid enum value.

pub fn set_severity(&mut self, value: Severity)[src]

Sets severity to the provided enum value.

pub fn effective_severity(&self) -> Severity[src]

Returns the enum value of effective_severity, or the default if the field is set to an invalid enum value.

pub fn set_effective_severity(&mut self, value: Severity)[src]

Sets effective_severity to the provided enum value.

Trait Implementations

impl Clone for Details[src]

impl Debug for Details[src]

impl Default for Details[src]

impl Message for Details[src]

impl PartialEq<Details> for Details[src]

impl StructuralPartialEq for Details[src]

Auto Trait Implementations

impl RefUnwindSafe for Details

impl Send for Details

impl Sync for Details

impl Unpin for Details

impl UnwindSafe for Details

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> 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> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]