pub struct VolumeMountStatus {
pub mount_path: String,
pub name: String,
pub read_only: Option<bool>,
pub recursive_read_only: Option<String>,
}
Expand description
VolumeMountStatus shows status of volume mounts.
Fields§
§mount_path: String
MountPath corresponds to the original VolumeMount.
name: String
Name corresponds to the name of the original VolumeMount.
read_only: Option<bool>
ReadOnly corresponds to the original VolumeMount.
recursive_read_only: Option<String>
RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result.
Trait Implementations§
Source§impl Clone for VolumeMountStatus
impl Clone for VolumeMountStatus
Source§fn clone(&self) -> VolumeMountStatus
fn clone(&self) -> VolumeMountStatus
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 VolumeMountStatus
impl Debug for VolumeMountStatus
Source§impl DeepMerge for VolumeMountStatus
impl DeepMerge for VolumeMountStatus
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for VolumeMountStatus
impl Default for VolumeMountStatus
Source§fn default() -> VolumeMountStatus
fn default() -> VolumeMountStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeMountStatus
impl<'de> Deserialize<'de> for VolumeMountStatus
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 VolumeMountStatus
impl PartialEq for VolumeMountStatus
Source§impl Serialize for VolumeMountStatus
impl Serialize for VolumeMountStatus
impl StructuralPartialEq for VolumeMountStatus
Auto Trait Implementations§
impl Freeze for VolumeMountStatus
impl RefUnwindSafe for VolumeMountStatus
impl Send for VolumeMountStatus
impl Sync for VolumeMountStatus
impl Unpin for VolumeMountStatus
impl UnwindSafe for VolumeMountStatus
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