Struct aws_sdk_securityhub::types::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails {
pub container_path: Option<String>,
pub host_path: Option<String>,
pub permissions: Option<Vec<String>>,
}
Expand description
A host device to expose to the container.
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 path inside the container at which to expose the host device.
host_path: Option<String>
The path for the device on the host container instance.
permissions: Option<Vec<String>>
The explicit permissions to provide to the container for the device. By default, the container has permissions for read, write, and mknod
for the device.
Implementations§
source§impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
sourcepub fn container_path(&self) -> Option<&str>
pub fn container_path(&self) -> Option<&str>
The path inside the container at which to expose the host device.
sourcepub fn host_path(&self) -> Option<&str>
pub fn host_path(&self) -> Option<&str>
The path for the device on the host container instance.
sourcepub fn permissions(&self) -> &[String]
pub fn permissions(&self) -> &[String]
The explicit permissions to provide to the container for the device. By default, the container has permissions for read, write, and mknod
for the device.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .permissions.is_none()
.
source§impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
sourcepub fn builder(
) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetailsBuilder
pub fn builder( ) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetailsBuilder
Creates a new builder-style object to manufacture AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
source§fn clone(
&self
) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
fn clone( &self ) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
) -> bool
fn eq( &self, other: &AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
Auto Trait Implementations§
impl Freeze for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl RefUnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl Send for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl Sync for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl Unpin for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl UnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
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