#[non_exhaustive]pub struct ImageScanFindingAggregation {
pub account_aggregation: Option<AccountAggregation>,
pub image_aggregation: Option<ImageAggregation>,
pub image_pipeline_aggregation: Option<ImagePipelineAggregation>,
pub vulnerability_id_aggregation: Option<VulnerabilityIdAggregation>,
}
Expand description
This returns exactly one type of aggregation, based on the filter that Image Builder applies in its API action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.account_aggregation: Option<AccountAggregation>
Returns an object that contains severity counts based on an account ID.
image_aggregation: Option<ImageAggregation>
Returns an object that contains severity counts based on the Amazon Resource Name (ARN) for a specific image.
image_pipeline_aggregation: Option<ImagePipelineAggregation>
Returns an object that contains severity counts based on an image pipeline ARN.
vulnerability_id_aggregation: Option<VulnerabilityIdAggregation>
Returns an object that contains severity counts based on vulnerability ID.
Implementations§
source§impl ImageScanFindingAggregation
impl ImageScanFindingAggregation
sourcepub fn account_aggregation(&self) -> Option<&AccountAggregation>
pub fn account_aggregation(&self) -> Option<&AccountAggregation>
Returns an object that contains severity counts based on an account ID.
sourcepub fn image_aggregation(&self) -> Option<&ImageAggregation>
pub fn image_aggregation(&self) -> Option<&ImageAggregation>
Returns an object that contains severity counts based on the Amazon Resource Name (ARN) for a specific image.
sourcepub fn image_pipeline_aggregation(&self) -> Option<&ImagePipelineAggregation>
pub fn image_pipeline_aggregation(&self) -> Option<&ImagePipelineAggregation>
Returns an object that contains severity counts based on an image pipeline ARN.
sourcepub fn vulnerability_id_aggregation(
&self
) -> Option<&VulnerabilityIdAggregation>
pub fn vulnerability_id_aggregation( &self ) -> Option<&VulnerabilityIdAggregation>
Returns an object that contains severity counts based on vulnerability ID.
source§impl ImageScanFindingAggregation
impl ImageScanFindingAggregation
sourcepub fn builder() -> ImageScanFindingAggregationBuilder
pub fn builder() -> ImageScanFindingAggregationBuilder
Creates a new builder-style object to manufacture ImageScanFindingAggregation
.
Trait Implementations§
source§impl Clone for ImageScanFindingAggregation
impl Clone for ImageScanFindingAggregation
source§fn clone(&self) -> ImageScanFindingAggregation
fn clone(&self) -> ImageScanFindingAggregation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageScanFindingAggregation
impl Debug for ImageScanFindingAggregation
source§impl PartialEq for ImageScanFindingAggregation
impl PartialEq for ImageScanFindingAggregation
source§fn eq(&self, other: &ImageScanFindingAggregation) -> bool
fn eq(&self, other: &ImageScanFindingAggregation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageScanFindingAggregation
Auto Trait Implementations§
impl Freeze for ImageScanFindingAggregation
impl RefUnwindSafe for ImageScanFindingAggregation
impl Send for ImageScanFindingAggregation
impl Sync for ImageScanFindingAggregation
impl Unpin for ImageScanFindingAggregation
impl UnwindSafe for ImageScanFindingAggregation
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
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>
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>
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