#[non_exhaustive]pub struct ImageScanningConfigurationBuilder { /* private fields */ }
Expand description
A builder for ImageScanningConfiguration
.
Implementations§
source§impl ImageScanningConfigurationBuilder
impl ImageScanningConfigurationBuilder
sourcepub fn scan_on_push(self, input: bool) -> Self
pub fn scan_on_push(self, input: bool) -> Self
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.
sourcepub fn set_scan_on_push(self, input: Option<bool>) -> Self
pub fn set_scan_on_push(self, input: Option<bool>) -> Self
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.
sourcepub fn build(self) -> ImageScanningConfiguration
pub fn build(self) -> ImageScanningConfiguration
Consumes the builder and constructs a ImageScanningConfiguration
.
Trait Implementations§
source§impl Clone for ImageScanningConfigurationBuilder
impl Clone for ImageScanningConfigurationBuilder
source§fn clone(&self) -> ImageScanningConfigurationBuilder
fn clone(&self) -> ImageScanningConfigurationBuilder
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 ImageScanningConfigurationBuilder
impl Default for ImageScanningConfigurationBuilder
source§fn default() -> ImageScanningConfigurationBuilder
fn default() -> ImageScanningConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ImageScanningConfigurationBuilder> for ImageScanningConfigurationBuilder
impl PartialEq<ImageScanningConfigurationBuilder> for ImageScanningConfigurationBuilder
source§fn eq(&self, other: &ImageScanningConfigurationBuilder) -> bool
fn eq(&self, other: &ImageScanningConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.