Struct tabox::configuration::DirectoryMount
source · pub struct DirectoryMount {
pub target: PathBuf,
pub source: PathBuf,
pub writable: bool,
}
Expand description
Describes a mountpoint inside the sandbox
Fields§
§target: PathBuf
Where to mount the directory inside the sandbox.
source: PathBuf
Path of the directory to mount inside the sandbox
writable: bool
Should the directory be writable or not
Trait Implementations§
source§impl Clone for DirectoryMount
impl Clone for DirectoryMount
source§fn clone(&self) -> DirectoryMount
fn clone(&self) -> DirectoryMount
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 DirectoryMount
impl Debug for DirectoryMount
source§impl<'de> Deserialize<'de> for DirectoryMount
impl<'de> Deserialize<'de> for DirectoryMount
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<DirectoryMount> for DirectoryMount
impl PartialEq<DirectoryMount> for DirectoryMount
source§fn eq(&self, other: &DirectoryMount) -> bool
fn eq(&self, other: &DirectoryMount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.