Struct aws_sdk_ecrpublic::types::ReferencedImageDetail
source · #[non_exhaustive]pub struct ReferencedImageDetail {
pub image_digest: Option<String>,
pub image_size_in_bytes: Option<i64>,
pub image_pushed_at: Option<DateTime>,
pub image_manifest_media_type: Option<String>,
pub artifact_media_type: Option<String>,
}Expand description
An object that describes the image tag details that are returned by a DescribeImageTags action.
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.image_digest: Option<String>The sha256 digest of the image manifest.
image_size_in_bytes: Option<i64>The size, in bytes, of the image in the repository.
If the image is a manifest list, this is the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it might return a larger image size than the image sizes that are returned by DescribeImages.
image_pushed_at: Option<DateTime>The date and time, expressed in standard JavaScript date format, which the current image tag was pushed to the repository at.
image_manifest_media_type: Option<String>The media type of the image manifest.
artifact_media_type: Option<String>The artifact media type of the image.
Implementations§
source§impl ReferencedImageDetail
impl ReferencedImageDetail
sourcepub fn image_digest(&self) -> Option<&str>
pub fn image_digest(&self) -> Option<&str>
The sha256 digest of the image manifest.
sourcepub fn image_size_in_bytes(&self) -> Option<i64>
pub fn image_size_in_bytes(&self) -> Option<i64>
The size, in bytes, of the image in the repository.
If the image is a manifest list, this is the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it might return a larger image size than the image sizes that are returned by DescribeImages.
sourcepub fn image_pushed_at(&self) -> Option<&DateTime>
pub fn image_pushed_at(&self) -> Option<&DateTime>
The date and time, expressed in standard JavaScript date format, which the current image tag was pushed to the repository at.
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.
sourcepub fn artifact_media_type(&self) -> Option<&str>
pub fn artifact_media_type(&self) -> Option<&str>
The artifact media type of the image.
source§impl ReferencedImageDetail
impl ReferencedImageDetail
sourcepub fn builder() -> ReferencedImageDetailBuilder
pub fn builder() -> ReferencedImageDetailBuilder
Creates a new builder-style object to manufacture ReferencedImageDetail.
Trait Implementations§
source§impl Clone for ReferencedImageDetail
impl Clone for ReferencedImageDetail
source§fn clone(&self) -> ReferencedImageDetail
fn clone(&self) -> ReferencedImageDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReferencedImageDetail
impl Debug for ReferencedImageDetail
source§impl PartialEq<ReferencedImageDetail> for ReferencedImageDetail
impl PartialEq<ReferencedImageDetail> for ReferencedImageDetail
source§fn eq(&self, other: &ReferencedImageDetail) -> bool
fn eq(&self, other: &ReferencedImageDetail) -> bool
self and other values to be equal, and is used
by ==.