Struct aws_sdk_batch::types::EksContainerVolumeMount
source · #[non_exhaustive]pub struct EksContainerVolumeMount {
pub name: Option<String>,
pub mount_path: Option<String>,
pub read_only: Option<bool>,
}
Expand description
The volume mounts for a container for an Amazon EKS job. For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name the volume mount. This must match the name of one of the volumes in the pod.
mount_path: Option<String>
The path on the container where the volume is mounted.
read_only: Option<bool>
If this value is true
, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is false
.
Implementations§
source§impl EksContainerVolumeMount
impl EksContainerVolumeMount
source§impl EksContainerVolumeMount
impl EksContainerVolumeMount
sourcepub fn builder() -> EksContainerVolumeMountBuilder
pub fn builder() -> EksContainerVolumeMountBuilder
Creates a new builder-style object to manufacture EksContainerVolumeMount
.
Trait Implementations§
source§impl Clone for EksContainerVolumeMount
impl Clone for EksContainerVolumeMount
source§fn clone(&self) -> EksContainerVolumeMount
fn clone(&self) -> EksContainerVolumeMount
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 EksContainerVolumeMount
impl Debug for EksContainerVolumeMount
source§impl PartialEq<EksContainerVolumeMount> for EksContainerVolumeMount
impl PartialEq<EksContainerVolumeMount> for EksContainerVolumeMount
source§fn eq(&self, other: &EksContainerVolumeMount) -> bool
fn eq(&self, other: &EksContainerVolumeMount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EksContainerVolumeMount
Auto Trait Implementations§
impl RefUnwindSafe for EksContainerVolumeMount
impl Send for EksContainerVolumeMount
impl Sync for EksContainerVolumeMount
impl Unpin for EksContainerVolumeMount
impl UnwindSafe for EksContainerVolumeMount
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
Mutably borrows from an owned value. Read more