Struct aws_sdk_ecrpublic::operation::put_image::PutImageInput
source · #[non_exhaustive]pub struct PutImageInput {
pub registry_id: Option<String>,
pub repository_name: Option<String>,
pub image_manifest: Option<String>,
pub image_manifest_media_type: Option<String>,
pub image_tag: Option<String>,
pub image_digest: Option<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, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.
repository_name: Option<String>
The name of the repository where the image is put.
image_manifest: Option<String>
The image manifest that corresponds to the image to be uploaded.
image_manifest_media_type: Option<String>
The media type of the image manifest. If you push an image manifest that doesn't contain the mediaType
field, you must specify the imageManifestMediaType
in the request.
image_tag: Option<String>
The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.
image_digest: Option<String>
The image digest of the image manifest that corresponds to the image.
Implementations§
source§impl PutImageInput
impl PutImageInput
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put. 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 where the image is put.
sourcepub fn image_manifest(&self) -> Option<&str>
pub fn image_manifest(&self) -> Option<&str>
The image manifest that corresponds to the image to be uploaded.
sourcepub fn image_manifest_media_type(&self) -> Option<&str>
pub fn image_manifest_media_type(&self) -> Option<&str>
The media type of the image manifest. If you push an image manifest that doesn't contain the mediaType
field, you must specify the imageManifestMediaType
in the request.
sourcepub fn image_tag(&self) -> Option<&str>
pub fn image_tag(&self) -> Option<&str>
The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.
sourcepub fn image_digest(&self) -> Option<&str>
pub fn image_digest(&self) -> Option<&str>
The image digest of the image manifest that corresponds to the image.
source§impl PutImageInput
impl PutImageInput
sourcepub fn builder() -> PutImageInputBuilder
pub fn builder() -> PutImageInputBuilder
Creates a new builder-style object to manufacture PutImageInput
.
Trait Implementations§
source§impl Clone for PutImageInput
impl Clone for PutImageInput
source§fn clone(&self) -> PutImageInput
fn clone(&self) -> PutImageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutImageInput
impl Debug for PutImageInput
source§impl PartialEq for PutImageInput
impl PartialEq for PutImageInput
source§fn eq(&self, other: &PutImageInput) -> bool
fn eq(&self, other: &PutImageInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutImageInput
Auto Trait Implementations§
impl Freeze for PutImageInput
impl RefUnwindSafe for PutImageInput
impl Send for PutImageInput
impl Sync for PutImageInput
impl Unpin for PutImageInput
impl UnwindSafe for PutImageInput
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