pub struct Cvss {
pub base_score: Option<f64>,
pub base_vector: Option<String>,
pub version: Option<String>,
}
Expand description
CVSS scores from the advisory related to the vulnerability.
Fields§
§base_score: Option<f64>
The base CVSS score.
base_vector: Option<String>
The base scoring vector for the CVSS score.
version: Option<String>
The version of CVSS for the CVSS score.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cvss
impl<'de> Deserialize<'de> for Cvss
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 Cvss
Auto Trait Implementations§
impl Freeze for Cvss
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