#[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_scan_status: Option<ImageScanStatus>, pub image_scan_findings_summary: Option<ImageScanFindingsSummary>, pub image_manifest_media_type: Option<String>, pub artifact_media_type: Option<String>, pub last_recorded_pull_time: Option<DateTime>, }
Expand description

An object that describes an image returned by a DescribeImages operation.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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 to which this image belongs.

repository_name: Option<String>

The name of the repository to which this image belongs.

image_digest: Option<String>

The sha256 digest of the image manifest.

image_tags: Option<Vec<String>>

The list of tags 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 will be 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 may return a larger image size than the image sizes returned by DescribeImages.

image_pushed_at: Option<DateTime>

The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.

image_scan_status: Option<ImageScanStatus>

The current state of the scan.

image_scan_findings_summary: Option<ImageScanFindingsSummary>

A summary of the last completed image scan.

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.

last_recorded_pull_time: Option<DateTime>

The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.

Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull an image once a day then the lastRecordedPullTime timestamp will indicate the exact time that the image was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the lastRecordedPullTime timestamp at least once every 24 hours, the result may not be the exact time that the image was last pulled.

Implementations

The Amazon Web Services account ID associated with the registry to which this image belongs.

The name of the repository to which this image belongs.

The sha256 digest of the image manifest.

The list of tags associated with this image.

The size, in bytes, of the image in the repository.

If the image is a manifest list, this will be 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 may return a larger image size than the image sizes returned by DescribeImages.

The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.

The current state of the scan.

A summary of the last completed image scan.

The media type of the image manifest.

The artifact media type of the image.

The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.

Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull an image once a day then the lastRecordedPullTime timestamp will indicate the exact time that the image was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the lastRecordedPullTime timestamp at least once every 24 hours, the result may not be the exact time that the image was last pulled.

Creates a new builder-style object to manufacture ImageDetail.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more