Struct k8s_openapi::api::core::v1::ContainerImage
source · 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§fn eq(&self, other: &ContainerImage) -> bool
fn eq(&self, other: &ContainerImage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ContainerImage
impl Serialize for ContainerImage
impl StructuralPartialEq for ContainerImage
Auto Trait Implementations§
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