Struct aws_sdk_securityhub::model::AwsEcsTaskVolumeDetails
source · [−]#[non_exhaustive]pub struct AwsEcsTaskVolumeDetails { /* private fields */ }Expand description
Provides information about a data volume that's used in a task definition.
Implementations
sourceimpl 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.
sourceimpl AwsEcsTaskVolumeDetails
impl AwsEcsTaskVolumeDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEcsTaskVolumeDetails.
Trait Implementations
sourceimpl Clone for AwsEcsTaskVolumeDetails
impl Clone for AwsEcsTaskVolumeDetails
sourcefn clone(&self) -> AwsEcsTaskVolumeDetails
fn clone(&self) -> AwsEcsTaskVolumeDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AwsEcsTaskVolumeDetails
impl Debug for AwsEcsTaskVolumeDetails
sourceimpl PartialEq<AwsEcsTaskVolumeDetails> for AwsEcsTaskVolumeDetails
impl PartialEq<AwsEcsTaskVolumeDetails> for AwsEcsTaskVolumeDetails
sourcefn eq(&self, other: &AwsEcsTaskVolumeDetails) -> bool
fn eq(&self, other: &AwsEcsTaskVolumeDetails) -> bool
impl StructuralPartialEq for AwsEcsTaskVolumeDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsEcsTaskVolumeDetails
impl Send for AwsEcsTaskVolumeDetails
impl Sync for AwsEcsTaskVolumeDetails
impl Unpin for AwsEcsTaskVolumeDetails
impl UnwindSafe for AwsEcsTaskVolumeDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more