Struct aws_sdk_ecrpublic::operation::batch_check_layer_availability::BatchCheckLayerAvailabilityInput
source · #[non_exhaustive]pub struct BatchCheckLayerAvailabilityInput {
pub registry_id: Option<String>,
pub repository_name: Option<String>,
pub layer_digests: Option<Vec<String>>,
}
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, or registry alias, associated with the public registry that contains the image layers to check. If you do not specify a registry, the default public registry is assumed.
repository_name: Option<String>
The name of the repository that's associated with the image layers to check.
layer_digests: Option<Vec<String>>
The digests of the image layers to check.
Implementations§
source§impl BatchCheckLayerAvailabilityInput
impl BatchCheckLayerAvailabilityInput
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID, or registry alias, associated with the public registry that contains the image layers to check. If you do not specify a registry, the default public registry is assumed.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository that's associated with the image layers to check.
sourcepub fn layer_digests(&self) -> &[String]
pub fn layer_digests(&self) -> &[String]
The digests of the image layers to check.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .layer_digests.is_none()
.
source§impl BatchCheckLayerAvailabilityInput
impl BatchCheckLayerAvailabilityInput
sourcepub fn builder() -> BatchCheckLayerAvailabilityInputBuilder
pub fn builder() -> BatchCheckLayerAvailabilityInputBuilder
Creates a new builder-style object to manufacture BatchCheckLayerAvailabilityInput
.
Trait Implementations§
source§impl Clone for BatchCheckLayerAvailabilityInput
impl Clone for BatchCheckLayerAvailabilityInput
source§fn clone(&self) -> BatchCheckLayerAvailabilityInput
fn clone(&self) -> BatchCheckLayerAvailabilityInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BatchCheckLayerAvailabilityInput
impl PartialEq for BatchCheckLayerAvailabilityInput
source§fn eq(&self, other: &BatchCheckLayerAvailabilityInput) -> bool
fn eq(&self, other: &BatchCheckLayerAvailabilityInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchCheckLayerAvailabilityInput
Auto Trait Implementations§
impl Freeze for BatchCheckLayerAvailabilityInput
impl RefUnwindSafe for BatchCheckLayerAvailabilityInput
impl Send for BatchCheckLayerAvailabilityInput
impl Sync for BatchCheckLayerAvailabilityInput
impl Unpin for BatchCheckLayerAvailabilityInput
impl UnwindSafe for BatchCheckLayerAvailabilityInput
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