Struct k8s_openapi_ext::corev1::ContainerImage
source · [−]Expand description
Describe a container image
Fields
names: Option<Vec<String, Global>>
Names by which this image is known. e.g. [“k8s.gcr.io/hyperkube:v1.0.7”, “dockerhub.io/google_containers/hyperkube:v1.0.7”]
size_bytes: Option<i64>
The size of the image in bytes.
Trait Implementations
sourceimpl Clone for ContainerImage
impl Clone for ContainerImage
sourcefn clone(&self) -> ContainerImage
fn clone(&self) -> ContainerImage
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ContainerImage
impl Debug for ContainerImage
sourceimpl DeepMerge for ContainerImage
impl DeepMerge for ContainerImage
sourcefn merge_from(&mut self, other: ContainerImage)
fn merge_from(&mut self, other: ContainerImage)
Merge
other
into self
.sourceimpl Default for ContainerImage
impl Default for ContainerImage
sourcefn default() -> ContainerImage
fn default() -> ContainerImage
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ContainerImage
impl<'de> Deserialize<'de> for ContainerImage
sourcefn 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
sourceimpl PartialEq<ContainerImage> for ContainerImage
impl PartialEq<ContainerImage> for ContainerImage
sourcefn eq(&self, other: &ContainerImage) -> bool
fn eq(&self, other: &ContainerImage) -> bool
sourceimpl Serialize for ContainerImage
impl Serialize for ContainerImage
sourcefn 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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more