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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> 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.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VolumeStatusItem
impl Debug for VolumeStatusItem
source§impl PartialEq<VolumeStatusItem> for VolumeStatusItem
impl PartialEq<VolumeStatusItem> for VolumeStatusItem
source§fn 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 ==
.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§
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
Mutably borrows from an owned value. Read more