pub struct SecurityAdvisoryCvss<'a> {
pub score: usize,
pub vector_string: Option<&'a str>,
}
Expand description
Details for the advisory pertaining to the Common Vulnerability Scoring System.
Fields§
§score: usize
The overall CVSS score of the advisory.
vector_string: Option<&'a str>
The full CVSS vector string for the advisory.
Trait Implementations§
source§impl<'a> Debug for SecurityAdvisoryCvss<'a>
impl<'a> Debug for SecurityAdvisoryCvss<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for SecurityAdvisoryCvss<'a>
impl<'de: 'a, 'a> Deserialize<'de> for SecurityAdvisoryCvss<'a>
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
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SecurityAdvisoryCvss<'a>
impl<'a> Send for SecurityAdvisoryCvss<'a>
impl<'a> Sync for SecurityAdvisoryCvss<'a>
impl<'a> Unpin for SecurityAdvisoryCvss<'a>
impl<'a> UnwindSafe for SecurityAdvisoryCvss<'a>
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