Struct aws_sdk_securityhub::model::AwsEcsTaskVolumeDetails
source · [−]#[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
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 more
sourceimpl 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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AwsEcsTaskVolumeDetails) -> bool
fn ne(&self, other: &AwsEcsTaskVolumeDetails) -> bool
This method tests for !=.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more