pub struct ServiceTaskSpecContainerSpecMountVolumeOptions {
pub driver_name: Box<Option<String>>,
pub driver_options: Box<Option<HashMap<String, String>>>,
pub labels: Box<Option<Vec<ServiceTaskSpecContainerSpecMountVolumeOptionsLabel>>>,
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<ServiceTaskSpecContainerSpecMountVolumeOptionsLabel>>>
User-defined key/value metadata
no_copy: Box<Option<bool>>
Populate volume with data from the target
Implementations§
source§impl ServiceTaskSpecContainerSpecMountVolumeOptions
impl ServiceTaskSpecContainerSpecMountVolumeOptions
sourcepub fn builder() -> ServiceTaskSpecContainerSpecMountVolumeOptionsBuilder
pub fn builder() -> ServiceTaskSpecContainerSpecMountVolumeOptionsBuilder
Create an instance of ServiceTaskSpecContainerSpecMountVolumeOptions
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecMountVolumeOptions
impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecMountVolumeOptions
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 ServiceTaskSpecContainerSpecMountVolumeOptions
impl RefUnwindSafe for ServiceTaskSpecContainerSpecMountVolumeOptions
impl Send for ServiceTaskSpecContainerSpecMountVolumeOptions
impl Sync for ServiceTaskSpecContainerSpecMountVolumeOptions
impl Unpin for ServiceTaskSpecContainerSpecMountVolumeOptions
impl UnwindSafe for ServiceTaskSpecContainerSpecMountVolumeOptions
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