Struct aws_sdk_ecr::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 associated with the registry that contains the image layers to check. If you do not specify a registry, the default registry is assumed.
repository_name: Option<String>
The name of the repository that is 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 associated with the registry that contains the image layers to check. 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 is 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 ==
.