pub struct VolumeOptions {
pub driver_config: Option<Driver>,
pub labels: Option<HashMap<String, String>>,
pub no_copy: Option<bool>,
pub subpath: Option<String>,
}
Available on crate feature
v5
only.Expand description
VolumeOptions represents the options for a mount of type volume.
Fields§
§driver_config: Option<Driver>
§labels: Option<HashMap<String, String>>
§no_copy: Option<bool>
§subpath: Option<String>
Trait Implementations§
Source§impl Debug for VolumeOptions
impl Debug for VolumeOptions
Source§impl Default for VolumeOptions
impl Default for VolumeOptions
Source§fn default() -> VolumeOptions
fn default() -> VolumeOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeOptions
impl<'de> Deserialize<'de> for VolumeOptions
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 VolumeOptions
impl RefUnwindSafe for VolumeOptions
impl Send for VolumeOptions
impl Sync for VolumeOptions
impl Unpin for VolumeOptions
impl UnwindSafe for VolumeOptions
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