pub struct MountVolumeOptionsDriverConfig {
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 MountVolumeOptionsDriverConfig
impl Clone for MountVolumeOptionsDriverConfig
source§fn clone(&self) -> MountVolumeOptionsDriverConfig
fn clone(&self) -> MountVolumeOptionsDriverConfig
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 Default for MountVolumeOptionsDriverConfig
impl Default for MountVolumeOptionsDriverConfig
source§fn default() -> MountVolumeOptionsDriverConfig
fn default() -> MountVolumeOptionsDriverConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MountVolumeOptionsDriverConfig
impl<'de> Deserialize<'de> for MountVolumeOptionsDriverConfig
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<MountVolumeOptionsDriverConfig> for MountVolumeOptionsDriverConfig
impl PartialEq<MountVolumeOptionsDriverConfig> for MountVolumeOptionsDriverConfig
source§fn eq(&self, other: &MountVolumeOptionsDriverConfig) -> bool
fn eq(&self, other: &MountVolumeOptionsDriverConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.