Struct podman_rest_client::models::OverlayVolume  
source · pub struct OverlayVolume {
    pub destination: Option<String>,
    pub options: Option<Vec<String>>,
    pub source: Option<String>,
}Expand description
OverlayVolume : OverlayVolume holds information about an overlay volume that will be mounted into the container.
Fields§
§destination: Option<String>Destination is the absolute path where the mount will be placed in the container.
options: Option<Vec<String>>Options holds overlay volume options.
source: Option<String>Source specifies the source path of the mount.
Implementations§
source§impl OverlayVolume
 
impl OverlayVolume
sourcepub fn new() -> OverlayVolume
 
pub fn new() -> OverlayVolume
OverlayVolume holds information about an overlay volume that will be mounted into the container.
Trait Implementations§
source§impl Clone for OverlayVolume
 
impl Clone for OverlayVolume
source§fn clone(&self) -> OverlayVolume
 
fn clone(&self) -> OverlayVolume
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 OverlayVolume
 
impl Debug for OverlayVolume
source§impl Default for OverlayVolume
 
impl Default for OverlayVolume
source§fn default() -> OverlayVolume
 
fn default() -> OverlayVolume
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OverlayVolume
 
impl<'de> Deserialize<'de> for OverlayVolume
source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<OverlayVolume, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<OverlayVolume, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for OverlayVolume
 
impl PartialEq for OverlayVolume
source§fn eq(&self, other: &OverlayVolume) -> bool
 
fn eq(&self, other: &OverlayVolume) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for OverlayVolume
 
impl Serialize for OverlayVolume
source§fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for OverlayVolume
Auto Trait Implementations§
impl Freeze for OverlayVolume
impl RefUnwindSafe for OverlayVolume
impl Send for OverlayVolume
impl Sync for OverlayVolume
impl Unpin for OverlayVolume
impl UnwindSafe for OverlayVolume
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)