pub struct VolumeOptions {
pub driver_config: Option<Box<Driver>>,
pub labels: Option<HashMap<String, String>>,
pub no_copy: Option<bool>,
pub subpath: Option<String>,
}
Fields§
§driver_config: Option<Box<Driver>>
§labels: Option<HashMap<String, String>>
§no_copy: Option<bool>
§subpath: Option<String>
Implementations§
Source§impl VolumeOptions
impl VolumeOptions
pub fn new() -> VolumeOptions
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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
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