Struct bollard::models::MountVolumeOptions
source · pub struct MountVolumeOptions {
pub no_copy: Option<bool>,
pub labels: Option<HashMap<String, String>>,
pub driver_config: Option<MountVolumeOptionsDriverConfig>,
}
Expand description
Optional configuration for the volume
type.
Fields§
§no_copy: Option<bool>
Populate volume with data from the target.
labels: Option<HashMap<String, String>>
User-defined key/value metadata.
driver_config: Option<MountVolumeOptionsDriverConfig>
Trait Implementations§
source§impl Clone for MountVolumeOptions
impl Clone for MountVolumeOptions
source§fn clone(&self) -> MountVolumeOptions
fn clone(&self) -> MountVolumeOptions
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 Debug for MountVolumeOptions
impl Debug for MountVolumeOptions
source§impl Default for MountVolumeOptions
impl Default for MountVolumeOptions
source§fn default() -> MountVolumeOptions
fn default() -> MountVolumeOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MountVolumeOptions
impl<'de> Deserialize<'de> for MountVolumeOptions
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MountVolumeOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MountVolumeOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for MountVolumeOptions
impl PartialEq for MountVolumeOptions
source§impl Serialize for MountVolumeOptions
impl Serialize for MountVolumeOptions
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MountVolumeOptions
Auto Trait Implementations§
impl Freeze for MountVolumeOptions
impl RefUnwindSafe for MountVolumeOptions
impl Send for MountVolumeOptions
impl Sync for MountVolumeOptions
impl Unpin for MountVolumeOptions
impl UnwindSafe for MountVolumeOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)