Struct docker_compose_types::ComposeVolume 
source · pub struct ComposeVolume {
    pub driver: Option<String>,
    pub driver_opts: IndexMap<String, Option<SingleValue>>,
    pub external: Option<ExternalVolume>,
    pub labels: Labels,
    pub name: Option<String>,
}Fields§
§driver: Option<String>§driver_opts: IndexMap<String, Option<SingleValue>>§external: Option<ExternalVolume>§labels: Labels§name: Option<String>Trait Implementations§
source§impl Clone for ComposeVolume
 
impl Clone for ComposeVolume
source§fn clone(&self) -> ComposeVolume
 
fn clone(&self) -> ComposeVolume
Returns a copy 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 ComposeVolume
 
impl Debug for ComposeVolume
source§impl<'de> Deserialize<'de> for ComposeVolume
 
impl<'de> Deserialize<'de> for ComposeVolume
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 ComposeVolume
 
impl PartialEq for ComposeVolume
source§fn eq(&self, other: &ComposeVolume) -> bool
 
fn eq(&self, other: &ComposeVolume) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for ComposeVolume
 
impl Serialize for ComposeVolume
impl StructuralPartialEq for ComposeVolume
Auto Trait Implementations§
impl RefUnwindSafe for ComposeVolume
impl Send for ComposeVolume
impl Sync for ComposeVolume
impl Unpin for ComposeVolume
impl UnwindSafe for ComposeVolume
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