#[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 ==
.impl StructuralPartialEq for StartImageScanInput
Auto Trait Implementations§
impl Freeze for StartImageScanInput
impl RefUnwindSafe for StartImageScanInput
impl Send for StartImageScanInput
impl Sync for StartImageScanInput
impl Unpin for StartImageScanInput
impl UnwindSafe for StartImageScanInput
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