pub struct MountVolumeOptionsInlineItemDriverConfigInlineItem {
pub name: Option<String>,
pub options: Option<HashMap<String, String>>,
}
Expand description
Map of driver specific options
Fields§
§name: Option<String>
Name of the driver to use to create the volume.
options: Option<HashMap<String, String>>
key/value map of driver specific options.
Trait Implementations§
Source§impl Clone for MountVolumeOptionsInlineItemDriverConfigInlineItem
impl Clone for MountVolumeOptionsInlineItemDriverConfigInlineItem
Source§fn clone(&self) -> MountVolumeOptionsInlineItemDriverConfigInlineItem
fn clone(&self) -> MountVolumeOptionsInlineItemDriverConfigInlineItem
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<'de> Deserialize<'de> for MountVolumeOptionsInlineItemDriverConfigInlineItem
impl<'de> Deserialize<'de> for MountVolumeOptionsInlineItemDriverConfigInlineItem
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 MountVolumeOptionsInlineItemDriverConfigInlineItem
impl PartialEq for MountVolumeOptionsInlineItemDriverConfigInlineItem
Source§fn eq(&self, other: &MountVolumeOptionsInlineItemDriverConfigInlineItem) -> bool
fn eq(&self, other: &MountVolumeOptionsInlineItemDriverConfigInlineItem) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MountVolumeOptionsInlineItemDriverConfigInlineItem
Auto Trait Implementations§
impl Freeze for MountVolumeOptionsInlineItemDriverConfigInlineItem
impl RefUnwindSafe for MountVolumeOptionsInlineItemDriverConfigInlineItem
impl Send for MountVolumeOptionsInlineItemDriverConfigInlineItem
impl Sync for MountVolumeOptionsInlineItemDriverConfigInlineItem
impl Unpin for MountVolumeOptionsInlineItemDriverConfigInlineItem
impl UnwindSafe for MountVolumeOptionsInlineItemDriverConfigInlineItem
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