Struct aws_sdk_ec2::types::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§
source§impl VolumeStatusItem
impl VolumeStatusItem
sourcepub fn actions(&self) -> &[VolumeStatusAction]
pub fn actions(&self) -> &[VolumeStatusAction]
The details of the operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .actions.is_none()
.
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) -> &[VolumeStatusEvent]
pub fn events(&self) -> &[VolumeStatusEvent]
A list of events associated with the volume.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .events.is_none()
.
sourcepub fn volume_status(&self) -> Option<&VolumeStatusInfo>
pub fn volume_status(&self) -> Option<&VolumeStatusInfo>
The volume status.
sourcepub fn attachment_statuses(&self) -> &[VolumeStatusAttachmentStatus]
pub fn attachment_statuses(&self) -> &[VolumeStatusAttachmentStatus]
Information about the instances to which the volume is attached.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .attachment_statuses.is_none()
.
source§impl VolumeStatusItem
impl VolumeStatusItem
sourcepub fn builder() -> VolumeStatusItemBuilder
pub fn builder() -> VolumeStatusItemBuilder
Creates a new builder-style object to manufacture VolumeStatusItem
.
Trait Implementations§
source§impl Clone for VolumeStatusItem
impl Clone for VolumeStatusItem
source§fn clone(&self) -> VolumeStatusItem
fn clone(&self) -> VolumeStatusItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VolumeStatusItem
impl Debug for VolumeStatusItem
source§impl PartialEq for VolumeStatusItem
impl PartialEq for VolumeStatusItem
source§fn eq(&self, other: &VolumeStatusItem) -> bool
fn eq(&self, other: &VolumeStatusItem) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VolumeStatusItem
Auto Trait Implementations§
impl Freeze for VolumeStatusItem
impl RefUnwindSafe for VolumeStatusItem
impl Send for VolumeStatusItem
impl Sync for VolumeStatusItem
impl Unpin for VolumeStatusItem
impl UnwindSafe for VolumeStatusItem
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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