#[non_exhaustive]pub struct ContainerStatus {
pub name: String,
pub image_digest: String,
/* private fields */
}Expand description
ContainerStatus holds the information of container name and image digest value.
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.name: StringThe name of the container, if specified.
image_digest: StringImageDigest holds the resolved digest for the image specified and resolved during the creation of Revision. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object.
Implementations§
Trait Implementations§
Source§impl Clone for ContainerStatus
impl Clone for ContainerStatus
Source§fn clone(&self) -> ContainerStatus
fn clone(&self) -> ContainerStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContainerStatus
impl Debug for ContainerStatus
Source§impl Default for ContainerStatus
impl Default for ContainerStatus
Source§fn default() -> ContainerStatus
fn default() -> ContainerStatus
Returns the “default value” for a type. Read more
Source§impl Message for ContainerStatus
impl Message for ContainerStatus
Source§impl PartialEq for ContainerStatus
impl PartialEq for ContainerStatus
impl StructuralPartialEq for ContainerStatus
Auto Trait Implementations§
impl Freeze for ContainerStatus
impl RefUnwindSafe for ContainerStatus
impl Send for ContainerStatus
impl Sync for ContainerStatus
impl Unpin for ContainerStatus
impl UnwindSafe for ContainerStatus
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
Mutably borrows from an owned value. Read more