#[non_exhaustive]pub struct VulnerabilityOccurrencesSummary {
pub counts: Vec<FixableTotalByDigest>,
}Expand description
A summary of how many vulnerability occurrences there are per resource and severity type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.counts: Vec<FixableTotalByDigest>A listing by resource of the number of fixable and total vulnerabilities.
Implementations§
Source§impl VulnerabilityOccurrencesSummary
impl VulnerabilityOccurrencesSummary
pub fn new() -> Self
Sourcepub fn set_counts<T, V>(self, v: T) -> Self
pub fn set_counts<T, V>(self, v: T) -> Self
Sets the value of counts.
Trait Implementations§
Source§impl Clone for VulnerabilityOccurrencesSummary
impl Clone for VulnerabilityOccurrencesSummary
Source§fn clone(&self) -> VulnerabilityOccurrencesSummary
fn clone(&self) -> VulnerabilityOccurrencesSummary
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for VulnerabilityOccurrencesSummary
impl Default for VulnerabilityOccurrencesSummary
Source§fn default() -> VulnerabilityOccurrencesSummary
fn default() -> VulnerabilityOccurrencesSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VulnerabilityOccurrencesSummary
impl<'de> Deserialize<'de> for VulnerabilityOccurrencesSummary
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
Source§impl Message for VulnerabilityOccurrencesSummary
impl Message for VulnerabilityOccurrencesSummary
Source§impl PartialEq for VulnerabilityOccurrencesSummary
impl PartialEq for VulnerabilityOccurrencesSummary
Source§fn eq(&self, other: &VulnerabilityOccurrencesSummary) -> bool
fn eq(&self, other: &VulnerabilityOccurrencesSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VulnerabilityOccurrencesSummary
Auto Trait Implementations§
impl Freeze for VulnerabilityOccurrencesSummary
impl RefUnwindSafe for VulnerabilityOccurrencesSummary
impl Send for VulnerabilityOccurrencesSummary
impl Sync for VulnerabilityOccurrencesSummary
impl Unpin for VulnerabilityOccurrencesSummary
impl UnwindSafe for VulnerabilityOccurrencesSummary
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