Struct aws_sdk_securityhub::types::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails {
pub container_path: Option<String>,
pub mount_options: Option<Vec<String>>,
pub size: Option<i32>,
}
Expand description
The container path, mount options, and size (in MiB) of a 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: Option<String>
The absolute file path where the tmpfs volume is to be mounted.
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"
size: Option<i32>
The maximum size (in MiB) of the tmpfs volume.
Implementations§
source§impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
sourcepub fn container_path(&self) -> Option<&str>
pub fn container_path(&self) -> Option<&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()
.
source§impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
sourcepub fn builder(
) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
pub fn builder( ) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
Creates a new builder-style object to manufacture AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
source§fn clone(
&self
) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
fn clone( &self ) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
) -> bool
fn eq( &self, other: &AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
Auto Trait Implementations§
impl Freeze for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
impl RefUnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
impl Send for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
impl Sync for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
impl Unpin for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
impl UnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more