Struct podman_api::models::TmpfsOptions
source · Fields§
§mode: Option<u32>
§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.
Trait Implementations§
source§impl Clone for TmpfsOptions
impl Clone for TmpfsOptions
source§fn clone(&self) -> TmpfsOptions
fn clone(&self) -> TmpfsOptions
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 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<TmpfsOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TmpfsOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TmpfsOptions> for TmpfsOptions
impl PartialEq<TmpfsOptions> for TmpfsOptions
source§fn eq(&self, other: &TmpfsOptions) -> bool
fn eq(&self, other: &TmpfsOptions) -> bool
source§impl Serialize for TmpfsOptions
impl Serialize for TmpfsOptions
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more