Struct aws_sdk_ecrpublic::types::ImageDetail
source · #[non_exhaustive]pub struct ImageDetail {
pub registry_id: Option<String>,
pub repository_name: Option<String>,
pub image_digest: Option<String>,
pub image_tags: Option<Vec<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 an image that's returned by a DescribeImages operation.
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 that's associated with the public registry where this image belongs.
repository_name: Option<String>The name of the repository where this image belongs.
image_digest: Option<String>The sha256 digest of the image manifest.
The list of tags that's associated with this image.
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, that the current image 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 ImageDetail
impl ImageDetail
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID that's associated with the public registry where this image belongs.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository where this image belongs.
sourcepub fn image_digest(&self) -> Option<&str>
pub fn image_digest(&self) -> Option<&str>
The sha256 digest of the image manifest.
The list of tags that's associated with this image.
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, that the current image 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 ImageDetail
impl ImageDetail
sourcepub fn builder() -> ImageDetailBuilder
pub fn builder() -> ImageDetailBuilder
Creates a new builder-style object to manufacture ImageDetail.
Trait Implementations§
source§impl Clone for ImageDetail
impl Clone for ImageDetail
source§fn clone(&self) -> ImageDetail
fn clone(&self) -> ImageDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ImageDetail
impl Debug for ImageDetail
source§impl PartialEq<ImageDetail> for ImageDetail
impl PartialEq<ImageDetail> for ImageDetail
source§fn eq(&self, other: &ImageDetail) -> bool
fn eq(&self, other: &ImageDetail) -> bool
self and other values to be equal, and is used
by ==.