Struct aws_sdk_ecs::types::Tmpfs
source · #[non_exhaustive]pub struct Tmpfs {
pub container_path: String,
pub size: i32,
pub mount_options: Option<Vec<String>>,
}
Expand description
The container path, mount options, and size of the tmpfs mount.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.container_path: String
The absolute file path where the tmpfs volume is to be mounted.
size: i32
The maximum size (in MiB) of the tmpfs volume.
mount_options: Option<Vec<String>>
The list of tmpfs volume mount options.
Valid values: "defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"
Implementations§
source§impl Tmpfs
impl Tmpfs
sourcepub fn container_path(&self) -> &str
pub fn container_path(&self) -> &str
The absolute file path where the tmpfs volume is to be mounted.
sourcepub fn mount_options(&self) -> &[String]
pub fn mount_options(&self) -> &[String]
The list of tmpfs volume mount options.
Valid values: "defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .mount_options.is_none()
.