pub struct ContainerMountVolumeOptions {
pub driver_name: Box<Option<String>>,
pub driver_options: Box<Option<HashMap<String, String>>>,
pub labels: Box<Option<Vec<ContainerMountVolumeOptionsLabel>>>,
pub no_copy: Box<Option<bool>>,
}
Fields§
§driver_name: Box<Option<String>>
Name of the driver to use to create the volume.
driver_options: Box<Option<HashMap<String, String>>>
key/value map of driver specific options.
labels: Box<Option<Vec<ContainerMountVolumeOptionsLabel>>>
User-defined key/value metadata.
no_copy: Box<Option<bool>>
Populate volume with data from the target.
Implementations§
source§impl ContainerMountVolumeOptions
impl ContainerMountVolumeOptions
sourcepub fn builder() -> ContainerMountVolumeOptionsBuilder
pub fn builder() -> ContainerMountVolumeOptionsBuilder
Create an instance of ContainerMountVolumeOptions
using the builder syntax
Trait Implementations§
source§impl Debug for ContainerMountVolumeOptions
impl Debug for ContainerMountVolumeOptions
source§impl<'de> Deserialize<'de> for ContainerMountVolumeOptions
impl<'de> Deserialize<'de> for ContainerMountVolumeOptions
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
Auto Trait Implementations§
impl Freeze for ContainerMountVolumeOptions
impl RefUnwindSafe for ContainerMountVolumeOptions
impl Send for ContainerMountVolumeOptions
impl Sync for ContainerMountVolumeOptions
impl Unpin for ContainerMountVolumeOptions
impl UnwindSafe for ContainerMountVolumeOptions
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