Struct aws_sdk_imagebuilder::types::SeverityCounts
source · #[non_exhaustive]pub struct SeverityCounts {
pub all: Option<i64>,
pub critical: Option<i64>,
pub high: Option<i64>,
pub medium: Option<i64>,
}
Expand description
Includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified filter.
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.all: Option<i64>
The total number of findings across all severity levels for the specified filter.
critical: Option<i64>
The number of critical severity findings for the specified filter.
high: Option<i64>
The number of high severity findings for the specified filter.
medium: Option<i64>
The number of medium severity findings for the specified filter.
Implementations§
source§impl SeverityCounts
impl SeverityCounts
sourcepub fn all(&self) -> Option<i64>
pub fn all(&self) -> Option<i64>
The total number of findings across all severity levels for the specified filter.
sourcepub fn critical(&self) -> Option<i64>
pub fn critical(&self) -> Option<i64>
The number of critical severity findings for the specified filter.
source§impl SeverityCounts
impl SeverityCounts
sourcepub fn builder() -> SeverityCountsBuilder
pub fn builder() -> SeverityCountsBuilder
Creates a new builder-style object to manufacture SeverityCounts
.
Trait Implementations§
source§impl Clone for SeverityCounts
impl Clone for SeverityCounts
source§fn clone(&self) -> SeverityCounts
fn clone(&self) -> SeverityCounts
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 Debug for SeverityCounts
impl Debug for SeverityCounts
source§impl PartialEq for SeverityCounts
impl PartialEq for SeverityCounts
source§fn eq(&self, other: &SeverityCounts) -> bool
fn eq(&self, other: &SeverityCounts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SeverityCounts
Auto Trait Implementations§
impl RefUnwindSafe for SeverityCounts
impl Send for SeverityCounts
impl Sync for SeverityCounts
impl Unpin for SeverityCounts
impl UnwindSafe for SeverityCounts
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> 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>
Creates a shared type from an unshared type.