pub struct TmpfsOptions {
pub size: Option<StringOrInt>,
pub mode: Option<i32>,
}Expand description
tmpfs options.
Fields§
§size: Option<StringOrInt>tmpfs size
mode: Option<i32>File mode
Trait Implementations§
Source§impl Clone for TmpfsOptions
impl Clone for TmpfsOptions
Source§fn clone(&self) -> TmpfsOptions
fn clone(&self) -> TmpfsOptions
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 TmpfsOptions
impl Debug for TmpfsOptions
Source§impl Default for TmpfsOptions
impl Default for TmpfsOptions
Source§fn default() -> TmpfsOptions
fn default() -> TmpfsOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TmpfsOptions
impl<'de> Deserialize<'de> for TmpfsOptions
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 TmpfsOptions
impl RefUnwindSafe for TmpfsOptions
impl Send for TmpfsOptions
impl Sync for TmpfsOptions
impl Unpin for TmpfsOptions
impl UnwindSafe for TmpfsOptions
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