pub struct Finding {
pub cve_id: Option<String>,
pub fixed_version: Option<String>,
pub vulnerable_versions: Option<String>,
pub severity: Option<String>,
pub cvss_v3_score: Option<f64>,
}Expand description
CLEANLIB-613: one CVE finding inside TopFindings. Only the fields the CLI
consumes are typed; the App may add more (tolerated — no deny_unknown_fields).
Fields§
§cve_id: Option<String>§fixed_version: Option<String>The version that remediates THIS CVE. fix takes the max of these across
findings as the cumulative upgrade target (you must reach at least the
highest per-CVE fix to clear every CVE). None when no fix exists yet.
vulnerable_versions: Option<String>§severity: Option<String>§cvss_v3_score: Option<f64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Finding
impl<'de> Deserialize<'de> for Finding
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 Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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