Struct aws_sdk_ecr::model::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_scan_status: Option<ImageScanStatus>,
pub image_scan_findings_summary: Option<ImageScanFindingsSummary>,
pub image_manifest_media_type: Option<String>,
pub artifact_media_type: Option<String>,
}Expand description
An object that describes an image 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 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.
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.
Implementations
sourceimpl ImageDetail
impl ImageDetail
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the registry to which this image belongs.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository to which 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 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 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.
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, at which the current image was pushed to the repository.
sourcepub fn image_scan_status(&self) -> Option<&ImageScanStatus>
pub fn image_scan_status(&self) -> Option<&ImageScanStatus>
The current state of the scan.
sourcepub fn image_scan_findings_summary(&self) -> Option<&ImageScanFindingsSummary>
pub fn image_scan_findings_summary(&self) -> Option<&ImageScanFindingsSummary>
A summary of the last completed image scan.
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.
sourceimpl ImageDetail
impl ImageDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImageDetail
Trait Implementations
sourceimpl Clone for ImageDetail
impl Clone for ImageDetail
sourcefn clone(&self) -> ImageDetail
fn clone(&self) -> ImageDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ImageDetail
impl Debug for ImageDetail
sourceimpl PartialEq<ImageDetail> for ImageDetail
impl PartialEq<ImageDetail> for ImageDetail
sourcefn eq(&self, other: &ImageDetail) -> bool
fn eq(&self, other: &ImageDetail) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ImageDetail) -> bool
fn ne(&self, other: &ImageDetail) -> bool
This method tests for !=.
impl StructuralPartialEq for ImageDetail
Auto Trait Implementations
impl RefUnwindSafe for ImageDetail
impl Send for ImageDetail
impl Sync for ImageDetail
impl Unpin for ImageDetail
impl UnwindSafe for ImageDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more