pub struct CvssV3 {
pub version: String,
pub vector_string: String,
pub base_score: f64,
pub base_severity: String,
pub attack_vector: Option<String>,
pub attack_complexity: Option<String>,
pub privileges_required: Option<String>,
pub user_interaction: Option<String>,
pub scope: Option<String>,
pub confidentiality_impact: Option<String>,
pub integrity_impact: Option<String>,
pub availability_impact: Option<String>,
}Expand description
CVSS v3.1 scoring data.
Fields§
§version: StringCVSS version (always "3.1").
vector_string: StringCVSS vector string.
base_score: f64Base score (0.0 to 10.0).
base_severity: StringBase severity (NONE, LOW, MEDIUM, HIGH, CRITICAL).
attack_vector: Option<String>Attack vector.
attack_complexity: Option<String>Attack complexity.
privileges_required: Option<String>Privileges required.
user_interaction: Option<String>User interaction.
scope: Option<String>Scope.
confidentiality_impact: Option<String>Confidentiality impact.
integrity_impact: Option<String>Integrity impact.
availability_impact: Option<String>Availability impact.
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 StructuralPartialEq 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 UnsafeUnpin 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