pub struct Mount { /* private fields */ }
Expand description
Mount specifies a mount for a container.
Implementations§
source§impl Mount
impl Mount
sourcepub fn destination(&self) -> &PathBuf
pub fn destination(&self) -> &PathBuf
Destination is the absolute path where the mount will be placed in the container.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mount
impl<'de> Deserialize<'de> for Mount
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 Mount
impl PartialEq for Mount
impl Eq for Mount
impl StructuralPartialEq for Mount
Auto Trait Implementations§
impl RefUnwindSafe for Mount
impl Send for Mount
impl Sync for Mount
impl Unpin for Mount
impl UnwindSafe for Mount
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