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