pub struct MountVolumeOptionsInlineItem {
pub driver_config: Option<MountVolumeOptionsInlineItemDriverConfigInlineItem>,
pub labels: Option<HashMap<String, String>>,
pub no_copy: Option<bool>,
}
Expand description
Optional configuration for the volume
type.
Fields§
§driver_config: Option<MountVolumeOptionsInlineItemDriverConfigInlineItem>
Map of driver specific options
labels: Option<HashMap<String, String>>
User-defined key/value metadata.
no_copy: Option<bool>
Populate volume with data from the target.
Trait Implementations§
Source§impl Clone for MountVolumeOptionsInlineItem
impl Clone for MountVolumeOptionsInlineItem
Source§fn clone(&self) -> MountVolumeOptionsInlineItem
fn clone(&self) -> MountVolumeOptionsInlineItem
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MountVolumeOptionsInlineItem
impl Debug for MountVolumeOptionsInlineItem
Source§impl<'de> Deserialize<'de> for MountVolumeOptionsInlineItem
impl<'de> Deserialize<'de> for MountVolumeOptionsInlineItem
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 MountVolumeOptionsInlineItem
impl PartialEq for MountVolumeOptionsInlineItem
Source§fn eq(&self, other: &MountVolumeOptionsInlineItem) -> bool
fn eq(&self, other: &MountVolumeOptionsInlineItem) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MountVolumeOptionsInlineItem
Auto Trait Implementations§
impl Freeze for MountVolumeOptionsInlineItem
impl RefUnwindSafe for MountVolumeOptionsInlineItem
impl Send for MountVolumeOptionsInlineItem
impl Sync for MountVolumeOptionsInlineItem
impl Unpin for MountVolumeOptionsInlineItem
impl UnwindSafe for MountVolumeOptionsInlineItem
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