Struct aws_sdk_ecs::model::MountPoint
source · [−]#[non_exhaustive]pub struct MountPoint {
pub source_volume: Option<String>,
pub container_path: Option<String>,
pub read_only: Option<bool>,
}Expand description
Details for a volume mount point that's used in a container definition.
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.source_volume: Option<String>The name of the volume to mount. Must be a volume name referenced in the name parameter of task definition volume.
container_path: Option<String>The path on the container to mount the host volume at.
read_only: Option<bool>If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume. The default value is false.
Implementations
The name of the volume to mount. Must be a volume name referenced in the name parameter of task definition volume.
The path on the container to mount the host volume at.
Creates a new builder-style object to manufacture MountPoint
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MountPoint
impl Send for MountPoint
impl Sync for MountPoint
impl Unpin for MountPoint
impl UnwindSafe for MountPoint
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more