podman_rest_client/v5/models/tmpfs_options.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// TmpfsOptions defines options specific to mounts of type "tmpfs".
4pub struct TmpfsOptions {
5 #[serde(rename = "Mode")]
6 pub mode: Option<u32>,
7 /// Size sets the size of the tmpfs, in bytes.
8 ///
9 /// This will be converted to an operating system specific value
10 /// depending on the host. For example, on linux, it will be converted to
11 /// use a 'k', 'm' or 'g' syntax. BSD, though not widely supported with
12 /// docker, uses a straight byte value.
13 ///
14 /// Percentages are not supported.
15 #[serde(rename = "SizeBytes")]
16 pub size_bytes: Option<i64>,
17}