pub struct SbomStats {Show 16 fields
pub component_count: usize,
pub vuln_count: usize,
pub license_count: usize,
pub ecosystem_counts: HashMap<String, usize>,
pub vuln_by_severity: HashMap<String, usize>,
pub license_counts: HashMap<String, usize>,
pub critical_count: usize,
pub high_count: usize,
pub medium_count: usize,
pub low_count: usize,
pub unknown_count: usize,
pub eol_count: usize,
pub eol_approaching_count: usize,
pub eol_supported_count: usize,
pub eol_security_only_count: usize,
pub eol_enriched: bool,
}Expand description
Cached SBOM statistics.
Fields§
§component_count: usize§vuln_count: usize§license_count: usize§ecosystem_counts: HashMap<String, usize>§vuln_by_severity: HashMap<String, usize>§license_counts: HashMap<String, usize>§critical_count: usize§high_count: usize§medium_count: usize§low_count: usize§unknown_count: usize§eol_count: usize§eol_approaching_count: usize§eol_supported_count: usize§eol_security_only_count: usize§eol_enriched: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SbomStats
impl RefUnwindSafe for SbomStats
impl Send for SbomStats
impl Sync for SbomStats
impl Unpin for SbomStats
impl UnsafeUnpin for SbomStats
impl UnwindSafe for SbomStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more