#[non_exhaustive]pub struct AwsEcsTaskVolumeDetails {
pub name: Option<String>,
pub host: Option<AwsEcsTaskVolumeHostDetails>,
}Expand description
Provides information about a data volume that's used in a task 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.name: Option<String>The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints.
host: Option<AwsEcsTaskVolumeHostDetails>This parameter is specified when you use bind mount host volumes. The contents of the host parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.
Implementations§
source§impl AwsEcsTaskVolumeDetails
impl AwsEcsTaskVolumeDetails
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints.
sourcepub fn host(&self) -> Option<&AwsEcsTaskVolumeHostDetails>
pub fn host(&self) -> Option<&AwsEcsTaskVolumeHostDetails>
This parameter is specified when you use bind mount host volumes. The contents of the host parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.
source§impl AwsEcsTaskVolumeDetails
impl AwsEcsTaskVolumeDetails
sourcepub fn builder() -> AwsEcsTaskVolumeDetailsBuilder
pub fn builder() -> AwsEcsTaskVolumeDetailsBuilder
Creates a new builder-style object to manufacture AwsEcsTaskVolumeDetails.
Trait Implementations§
source§impl Clone for AwsEcsTaskVolumeDetails
impl Clone for AwsEcsTaskVolumeDetails
source§fn clone(&self) -> AwsEcsTaskVolumeDetails
fn clone(&self) -> AwsEcsTaskVolumeDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsEcsTaskVolumeDetails
impl Debug for AwsEcsTaskVolumeDetails
source§impl PartialEq for AwsEcsTaskVolumeDetails
impl PartialEq for AwsEcsTaskVolumeDetails
impl StructuralPartialEq for AwsEcsTaskVolumeDetails
Auto Trait Implementations§
impl Freeze for AwsEcsTaskVolumeDetails
impl RefUnwindSafe for AwsEcsTaskVolumeDetails
impl Send for AwsEcsTaskVolumeDetails
impl Sync for AwsEcsTaskVolumeDetails
impl Unpin for AwsEcsTaskVolumeDetails
impl UnwindSafe for AwsEcsTaskVolumeDetails
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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