pub struct VolumeOptions {
pub driver_config: Option<Driver>,
pub labels: Option<HashMap<String, String>>,
pub no_copy: Option<bool>,
}
Fields§
§driver_config: Option<Driver>
§labels: Option<HashMap<String, String>>
§no_copy: Option<bool>
Trait Implementations§
Source§impl Clone for VolumeOptions
impl Clone for VolumeOptions
Source§fn clone(&self) -> VolumeOptions
fn clone(&self) -> VolumeOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VolumeOptions
impl Debug for VolumeOptions
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
Source§impl PartialEq for VolumeOptions
impl PartialEq for VolumeOptions
Source§impl Serialize for VolumeOptions
impl Serialize for VolumeOptions
impl StructuralPartialEq for VolumeOptions
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