pub struct SandboxImageMount {
pub mount_type: SandboxImageMountType,
pub path: String,
pub size: Option<String>,
pub from: Option<String>,
}Expand description
One mount an image may ask for.
Fields§
§mount_type: SandboxImageMountTypeFile system type.
path: StringAbsolute, normalized path the mount is placed at. It may not be or contain a system path
(/, /opt/alien, /proc, /sys, /dev, /run, /etc, /usr, /bin, /sbin,
/boot, /lib*).
size: Option<String>Size of a tmpfs, as a whole quantity such as 8Gi or 512Mi. Required for tmpfs and
refused for other types.
from: Option<String>Source of a bind mount: the path of a declared tmpfs mount. The
bind’s own path must be inside a declared nfs mount. Required for bind and refused for
other types.
Trait Implementations§
Source§impl Clone for SandboxImageMount
impl Clone for SandboxImageMount
Source§impl Debug for SandboxImageMount
impl Debug for SandboxImageMount
Source§impl<'de> Deserialize<'de> for SandboxImageMount
impl<'de> Deserialize<'de> for SandboxImageMount
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
impl Eq for SandboxImageMount
Source§impl PartialEq for SandboxImageMount
impl PartialEq for SandboxImageMount
Source§impl Serialize for SandboxImageMount
impl Serialize for SandboxImageMount
impl StructuralPartialEq for SandboxImageMount
Auto Trait Implementations§
impl Forget for SandboxImageMount
impl Freeze for SandboxImageMount
impl Move for SandboxImageMount
impl RefUnwindSafe for SandboxImageMount
impl Send for SandboxImageMount
impl Sync for SandboxImageMount
impl Unpin for SandboxImageMount
impl UnsafeUnpin for SandboxImageMount
impl UnwindSafe for SandboxImageMount
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.