pub struct OverlayVolume {
pub destination: Option<String>,
pub options: Option<Vec<String>>,
pub source: Option<String>,
}
Available on crate feature
v5
only.Expand description
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.
Trait Implementations§
Source§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
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