pub struct VolumeStatus {
pub image: Option<ImageVolumeStatus>,
}Expand description
VolumeStatus represents the status of a mounted volume. At most one of its members must be specified.
Fields§
§image: Option<ImageVolumeStatus>image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet’s host machine.
Trait Implementations§
Source§impl Clone for VolumeStatus
impl Clone for VolumeStatus
Source§fn clone(&self) -> VolumeStatus
fn clone(&self) -> VolumeStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VolumeStatus
impl Debug for VolumeStatus
Source§impl DeepMerge for VolumeStatus
impl DeepMerge for VolumeStatus
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for VolumeStatus
impl Default for VolumeStatus
Source§fn default() -> VolumeStatus
fn default() -> VolumeStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeStatus
impl<'de> Deserialize<'de> for VolumeStatus
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 VolumeStatus
impl PartialEq for VolumeStatus
Source§fn eq(&self, other: &VolumeStatus) -> bool
fn eq(&self, other: &VolumeStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VolumeStatus
impl Serialize for VolumeStatus
impl StructuralPartialEq for VolumeStatus
Auto Trait Implementations§
impl Freeze for VolumeStatus
impl RefUnwindSafe for VolumeStatus
impl Send for VolumeStatus
impl Sync for VolumeStatus
impl Unpin for VolumeStatus
impl UnsafeUnpin for VolumeStatus
impl UnwindSafe for VolumeStatus
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