pub struct ContainerImage {
pub names: Option<Vec<String>>,
pub size_bytes: Option<i64>,
}
Expand description
Describe a container image
Fields§
§names: Option<Vec<String>>
Names by which this image is known. e.g. [“kubernetes.example/hyperkube:v1.0.7”, “cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7”]
size_bytes: Option<i64>
The size of the image in bytes.
Trait Implementations§
Source§impl Clone for ContainerImage
impl Clone for ContainerImage
Source§fn clone(&self) -> ContainerImage
fn clone(&self) -> ContainerImage
Returns a copy 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 ContainerImage
impl Debug for ContainerImage
Source§impl DeepMerge for ContainerImage
impl DeepMerge for ContainerImage
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for ContainerImage
impl Default for ContainerImage
Source§fn default() -> ContainerImage
fn default() -> ContainerImage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerImage
impl<'de> Deserialize<'de> for ContainerImage
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContainerImage
impl PartialEq for ContainerImage
Source§impl Serialize for ContainerImage
impl Serialize for ContainerImage
impl StructuralPartialEq for ContainerImage
Auto Trait Implementations§
impl Freeze for ContainerImage
impl RefUnwindSafe for ContainerImage
impl Send for ContainerImage
impl Sync for ContainerImage
impl Unpin for ContainerImage
impl UnwindSafe for ContainerImage
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