Struct aws_sdk_securityhub::types::Cvss
source · #[non_exhaustive]pub struct Cvss {
pub version: Option<String>,
pub base_score: Option<f64>,
pub base_vector: Option<String>,
pub source: Option<String>,
pub adjustments: Option<Vec<Adjustment>>,
}
Expand description
CVSS scores from the advisory related to the vulnerability.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.version: Option<String>
The version of CVSS for the CVSS score.
base_score: Option<f64>
The base CVSS score.
base_vector: Option<String>
The base scoring vector for the CVSS score.
source: Option<String>
The origin of the original CVSS score and vector.
adjustments: Option<Vec<Adjustment>>
Adjustments to the CVSS metrics.
Implementations§
source§impl Cvss
impl Cvss
sourcepub fn base_score(&self) -> Option<f64>
pub fn base_score(&self) -> Option<f64>
The base CVSS score.
sourcepub fn base_vector(&self) -> Option<&str>
pub fn base_vector(&self) -> Option<&str>
The base scoring vector for the CVSS score.
sourcepub fn adjustments(&self) -> Option<&[Adjustment]>
pub fn adjustments(&self) -> Option<&[Adjustment]>
Adjustments to the CVSS metrics.
Trait Implementations§
source§impl PartialEq for Cvss
impl PartialEq for Cvss
impl StructuralPartialEq for Cvss
Auto Trait Implementations§
impl RefUnwindSafe for Cvss
impl Send for Cvss
impl Sync for Cvss
impl Unpin for Cvss
impl UnwindSafe for Cvss
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