Struct aws_sdk_ec2::model::VolumeStatusItem
source · [−]#[non_exhaustive]pub struct VolumeStatusItem {
pub actions: Option<Vec<VolumeStatusAction>>,
pub availability_zone: Option<String>,
pub outpost_arn: Option<String>,
pub events: Option<Vec<VolumeStatusEvent>>,
pub volume_id: Option<String>,
pub volume_status: Option<VolumeStatusInfo>,
pub attachment_statuses: Option<Vec<VolumeStatusAttachmentStatus>>,
}
Expand description
Describes the volume status.
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.actions: Option<Vec<VolumeStatusAction>>
The details of the operation.
availability_zone: Option<String>
The Availability Zone of the volume.
outpost_arn: Option<String>
The Amazon Resource Name (ARN) of the Outpost.
events: Option<Vec<VolumeStatusEvent>>
A list of events associated with the volume.
volume_id: Option<String>
The volume ID.
volume_status: Option<VolumeStatusInfo>
The volume status.
attachment_statuses: Option<Vec<VolumeStatusAttachmentStatus>>
Information about the instances to which the volume is attached.
Implementations
sourceimpl VolumeStatusItem
impl VolumeStatusItem
sourcepub fn actions(&self) -> Option<&[VolumeStatusAction]>
pub fn actions(&self) -> Option<&[VolumeStatusAction]>
The details of the operation.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone of the volume.
sourcepub fn outpost_arn(&self) -> Option<&str>
pub fn outpost_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Outpost.
sourcepub fn events(&self) -> Option<&[VolumeStatusEvent]>
pub fn events(&self) -> Option<&[VolumeStatusEvent]>
A list of events associated with the volume.
sourcepub fn volume_status(&self) -> Option<&VolumeStatusInfo>
pub fn volume_status(&self) -> Option<&VolumeStatusInfo>
The volume status.
sourcepub fn attachment_statuses(&self) -> Option<&[VolumeStatusAttachmentStatus]>
pub fn attachment_statuses(&self) -> Option<&[VolumeStatusAttachmentStatus]>
Information about the instances to which the volume is attached.
sourceimpl VolumeStatusItem
impl VolumeStatusItem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VolumeStatusItem
.
Trait Implementations
sourceimpl Clone for VolumeStatusItem
impl Clone for VolumeStatusItem
sourcefn clone(&self) -> VolumeStatusItem
fn clone(&self) -> VolumeStatusItem
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 VolumeStatusItem
impl Debug for VolumeStatusItem
sourceimpl PartialEq<VolumeStatusItem> for VolumeStatusItem
impl PartialEq<VolumeStatusItem> for VolumeStatusItem
sourcefn eq(&self, other: &VolumeStatusItem) -> bool
fn eq(&self, other: &VolumeStatusItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VolumeStatusItem) -> bool
fn ne(&self, other: &VolumeStatusItem) -> bool
This method tests for !=
.
impl StructuralPartialEq for VolumeStatusItem
Auto Trait Implementations
impl RefUnwindSafe for VolumeStatusItem
impl Send for VolumeStatusItem
impl Sync for VolumeStatusItem
impl Unpin for VolumeStatusItem
impl UnwindSafe for VolumeStatusItem
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