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 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 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<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 OverlayVolume
impl PartialEq for OverlayVolume
Source§impl Serialize for OverlayVolume
impl Serialize for OverlayVolume
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