Struct aws_sdk_ecr::model::ImageScanningConfiguration
source · #[non_exhaustive]pub struct ImageScanningConfiguration { /* private fields */ }
Expand description
The image scanning configuration for a repository.
Implementations§
source§impl ImageScanningConfiguration
impl ImageScanningConfiguration
sourcepub fn scan_on_push(&self) -> bool
pub fn scan_on_push(&self) -> bool
The setting that determines whether images are scanned after being pushed to a repository. If set to true
, images will be scanned after being pushed. If this parameter is not specified, it will default to false
and images will not be scanned unless a scan is manually started with the API_StartImageScan API.
source§impl ImageScanningConfiguration
impl ImageScanningConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImageScanningConfiguration
.
Trait Implementations§
source§impl Clone for ImageScanningConfiguration
impl Clone for ImageScanningConfiguration
source§fn clone(&self) -> ImageScanningConfiguration
fn clone(&self) -> ImageScanningConfiguration
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 ImageScanningConfiguration
impl Debug for ImageScanningConfiguration
source§impl PartialEq<ImageScanningConfiguration> for ImageScanningConfiguration
impl PartialEq<ImageScanningConfiguration> for ImageScanningConfiguration
source§fn eq(&self, other: &ImageScanningConfiguration) -> bool
fn eq(&self, other: &ImageScanningConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.