#[non_exhaustive]pub struct StartImageScanInput {
pub registry_id: Option<String>,
pub repository_name: Option<String>,
pub image_id: Option<ImageIdentifier>,
}
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.registry_id: Option<String>
The Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.
repository_name: Option<String>
The name of the repository that contains the images to scan.
image_id: Option<ImageIdentifier>
An object with identifying information for an image in an Amazon ECR repository.
Implementations§
source§impl StartImageScanInput
impl StartImageScanInput
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository that contains the images to scan.
sourcepub fn image_id(&self) -> Option<&ImageIdentifier>
pub fn image_id(&self) -> Option<&ImageIdentifier>
An object with identifying information for an image in an Amazon ECR repository.
source§impl StartImageScanInput
impl StartImageScanInput
sourcepub fn builder() -> StartImageScanInputBuilder
pub fn builder() -> StartImageScanInputBuilder
Creates a new builder-style object to manufacture StartImageScanInput
.
Trait Implementations§
source§impl Clone for StartImageScanInput
impl Clone for StartImageScanInput
source§fn clone(&self) -> StartImageScanInput
fn clone(&self) -> StartImageScanInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartImageScanInput
impl Debug for StartImageScanInput
source§impl PartialEq for StartImageScanInput
impl PartialEq for StartImageScanInput
source§fn eq(&self, other: &StartImageScanInput) -> bool
fn eq(&self, other: &StartImageScanInput) -> bool
self
and other
values to be equal, and is used
by ==
.