pub struct VolumeConfig {
pub driver: Option<String>,
pub driver_opts: BTreeMap<OptsKey, NumOrStr>,
pub external: Option<External>,
pub labels: Option<VecOrMap>,
pub name: Option<String>,
}
Fields§
§driver: Option<String>
§driver_opts: BTreeMap<OptsKey, NumOrStr>
§external: Option<External>
§labels: Option<VecOrMap>
§name: Option<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
Source§impl From<&VolumeConfig> for Volume
impl From<&VolumeConfig> for Volume
Source§fn from(value: &VolumeConfig) -> Self
fn from(value: &VolumeConfig) -> Self
Converts to this type from the input type.
Source§impl From<&VolumeConfig> for VolumeConfig
impl From<&VolumeConfig> for VolumeConfig
Source§fn from(value: &VolumeConfig) -> Self
fn from(value: &VolumeConfig) -> Self
Converts to this type from the input type.
Source§impl From<VolumeConfig> for Volume
impl From<VolumeConfig> for Volume
Source§fn from(value: VolumeConfig) -> Self
fn from(value: VolumeConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VolumeConfig
impl PartialEq for VolumeConfig
Source§impl PartialOrd for VolumeConfig
impl PartialOrd for VolumeConfig
Source§impl Serialize for VolumeConfig
impl Serialize for VolumeConfig
impl StructuralPartialEq for VolumeConfig
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