pub struct CVSSv3 {
pub attack_complexity: Option<String>,
pub attack_vector: Option<String>,
pub availability_impact: Option<String>,
pub base_score: Option<f32>,
pub confidentiality_impact: Option<String>,
pub exploitability_score: Option<f32>,
pub impact_score: Option<f32>,
pub integrity_impact: Option<String>,
pub privileges_required: Option<String>,
pub scope: Option<String>,
pub user_interaction: Option<String>,
}
Expand description
Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document
This type is not used in any activity, and only used as part of another schema.
Fields§
§attack_complexity: Option<String>
no description provided
attack_vector: Option<String>
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
availability_impact: Option<String>
no description provided
base_score: Option<f32>
The base score is a function of the base metric scores.
confidentiality_impact: Option<String>
no description provided
exploitability_score: Option<f32>
no description provided
impact_score: Option<f32>
no description provided
integrity_impact: Option<String>
no description provided
privileges_required: Option<String>
no description provided
scope: Option<String>
no description provided
user_interaction: Option<String>
no description provided
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CVSSv3
impl<'de> Deserialize<'de> for CVSSv3
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for CVSSv3
Auto Trait Implementations§
impl Freeze for CVSSv3
impl RefUnwindSafe for CVSSv3
impl Send for CVSSv3
impl Sync for CVSSv3
impl Unpin for CVSSv3
impl UnwindSafe for CVSSv3
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more