pub struct VolumeConfig {
pub driver: Option<String>,
pub driver_opts: Option<HashMap<String, String>>,
}
Fields§
§driver: Option<String>
§driver_opts: Option<HashMap<String, String>>
Trait Implementations§
Source§impl Clone for VolumeConfig
impl Clone for VolumeConfig
Source§fn clone(&self) -> VolumeConfig
fn clone(&self) -> VolumeConfig
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 VolumeConfig
impl Debug for VolumeConfig
Source§impl<'de> Deserialize<'de> for VolumeConfig
impl<'de> Deserialize<'de> for VolumeConfig
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 VolumeConfig
impl RefUnwindSafe for VolumeConfig
impl Send for VolumeConfig
impl Sync for VolumeConfig
impl Unpin for VolumeConfig
impl UnwindSafe for VolumeConfig
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