Struct k8s_openapi_ext::corev1::ContainerImage
source · pub struct ContainerImage {
pub names: Option<Vec<String, Global>>,
pub size_bytes: Option<i64>,
}
Expand description
Describe a container image
Fields§
§names: Option<Vec<String, Global>>
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: ContainerImage)
fn merge_from(&mut self, other: ContainerImage)
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<ContainerImage, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<ContainerImage, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ContainerImage> for ContainerImage
impl PartialEq<ContainerImage> 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
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more