Struct aws_sdk_ecr::operation::batch_get_image::BatchGetImageInput
source · #[non_exhaustive]pub struct BatchGetImageInput {
pub registry_id: Option<String>,
pub repository_name: Option<String>,
pub image_ids: Option<Vec<ImageIdentifier>>,
pub accepted_media_types: 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 images to describe. If you do not specify a registry, the default registry is assumed.
repository_name: Option<String>
The repository that contains the images to describe.
image_ids: Option<Vec<ImageIdentifier>>
A list of image ID references that correspond to images to describe. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
accepted_media_types: Option<Vec<String>>
The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json
| application/vnd.docker.distribution.manifest.v2+json
| application/vnd.oci.image.manifest.v1+json
Implementations§
source§impl BatchGetImageInput
impl BatchGetImageInput
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 images to describe. 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 repository that contains the images to describe.
sourcepub fn image_ids(&self) -> &[ImageIdentifier]
pub fn image_ids(&self) -> &[ImageIdentifier]
A list of image ID references that correspond to images to describe. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .image_ids.is_none()
.
sourcepub fn accepted_media_types(&self) -> &[String]
pub fn accepted_media_types(&self) -> &[String]
The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json
| application/vnd.docker.distribution.manifest.v2+json
| application/vnd.oci.image.manifest.v1+json
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .accepted_media_types.is_none()
.
source§impl BatchGetImageInput
impl BatchGetImageInput
sourcepub fn builder() -> BatchGetImageInputBuilder
pub fn builder() -> BatchGetImageInputBuilder
Creates a new builder-style object to manufacture BatchGetImageInput
.
Trait Implementations§
source§impl Clone for BatchGetImageInput
impl Clone for BatchGetImageInput
source§fn clone(&self) -> BatchGetImageInput
fn clone(&self) -> BatchGetImageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchGetImageInput
impl Debug for BatchGetImageInput
source§impl PartialEq for BatchGetImageInput
impl PartialEq for BatchGetImageInput
source§fn eq(&self, other: &BatchGetImageInput) -> bool
fn eq(&self, other: &BatchGetImageInput) -> bool
self
and other
values to be equal, and is used
by ==
.