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

pub struct CvsSv3 {
    pub base_score: f32,
    pub exploitability_score: f32,
    pub impact_score: f32,
    pub attack_vector: i32,
    pub attack_complexity: i32,
    pub privileges_required: i32,
    pub user_interaction: i32,
    pub scope: i32,
    pub confidentiality_impact: i32,
    pub integrity_impact: i32,
    pub availability_impact: i32,
}

Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document

Fields

base_score: f32

The base score is a function of the base metric scores.

exploitability_score: f32impact_score: f32attack_vector: i32

Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.

attack_complexity: i32privileges_required: i32user_interaction: i32scope: i32confidentiality_impact: i32integrity_impact: i32availability_impact: i32

Implementations

impl CvsSv3[src]

pub fn attack_vector(&self) -> AttackVector[src]

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

pub fn set_attack_vector(&mut self, value: AttackVector)[src]

Sets attack_vector to the provided enum value.

pub fn attack_complexity(&self) -> AttackComplexity[src]

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

pub fn set_attack_complexity(&mut self, value: AttackComplexity)[src]

Sets attack_complexity to the provided enum value.

pub fn privileges_required(&self) -> PrivilegesRequired[src]

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

pub fn set_privileges_required(&mut self, value: PrivilegesRequired)[src]

Sets privileges_required to the provided enum value.

pub fn user_interaction(&self) -> UserInteraction[src]

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

pub fn set_user_interaction(&mut self, value: UserInteraction)[src]

Sets user_interaction to the provided enum value.

pub fn scope(&self) -> Scope[src]

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

pub fn set_scope(&mut self, value: Scope)[src]

Sets scope to the provided enum value.

pub fn confidentiality_impact(&self) -> Impact[src]

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

pub fn set_confidentiality_impact(&mut self, value: Impact)[src]

Sets confidentiality_impact to the provided enum value.

pub fn integrity_impact(&self) -> Impact[src]

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

pub fn set_integrity_impact(&mut self, value: Impact)[src]

Sets integrity_impact to the provided enum value.

pub fn availability_impact(&self) -> Impact[src]

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

pub fn set_availability_impact(&mut self, value: Impact)[src]

Sets availability_impact to the provided enum value.

Trait Implementations

impl Clone for CvsSv3[src]

impl Debug for CvsSv3[src]

impl Default for CvsSv3[src]

impl Message for CvsSv3[src]

impl PartialEq<CvsSv3> for CvsSv3[src]

impl StructuralPartialEq for CvsSv3[src]

Auto Trait Implementations

impl RefUnwindSafe for CvsSv3

impl Send for CvsSv3

impl Sync for CvsSv3

impl Unpin for CvsSv3

impl UnwindSafe for CvsSv3

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]