pub struct TmpfsOptions {
pub mode: Option<i32>,
pub size_bytes: Option<i64>,
}Fields§
§mode: Option<i32>The bits have the same definition on all systems, so that information about files can be moved from one system to another portably. Not all bits apply to all systems. The only required bit is ModeDir for directories.
size_bytes: Option<i64>Size sets the size of the tmpfs, in bytes. This will be converted to an operating system specific value depending on the host. For example, on linux, it will be converted to use a ‘k’, ‘m’ or ‘g’ syntax. BSD, though not widely supported with docker, uses a straight byte value. Percentages are not supported.
Implementations§
Source§impl TmpfsOptions
impl TmpfsOptions
pub fn new() -> TmpfsOptions
Trait Implementations§
Source§impl Clone for TmpfsOptions
impl Clone for TmpfsOptions
Source§fn clone(&self) -> TmpfsOptions
fn clone(&self) -> TmpfsOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TmpfsOptions
impl Debug for TmpfsOptions
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>,
Source§impl FromStr for TmpfsOptions
Converts Query Parameters representation (style=form, explode=false) to a TmpfsOptions value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for TmpfsOptions
Converts Query Parameters representation (style=form, explode=false) to a TmpfsOptions value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for TmpfsOptions
impl PartialEq for TmpfsOptions
Source§impl Serialize for TmpfsOptions
impl Serialize for TmpfsOptions
Source§impl ToString for TmpfsOptions
Converts the TmpfsOptions value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for TmpfsOptions
Converts the TmpfsOptions value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer