Struct rusoto_ec2::Volume
source · [−]pub struct Volume {Show 16 fields
pub attachments: Option<Vec<VolumeAttachment>>,
pub availability_zone: Option<String>,
pub create_time: Option<String>,
pub encrypted: Option<bool>,
pub fast_restored: Option<bool>,
pub iops: Option<i64>,
pub kms_key_id: Option<String>,
pub multi_attach_enabled: Option<bool>,
pub outpost_arn: Option<String>,
pub size: Option<i64>,
pub snapshot_id: Option<String>,
pub state: Option<String>,
pub tags: Option<Vec<Tag>>,
pub throughput: Option<i64>,
pub volume_id: Option<String>,
pub volume_type: Option<String>,
}
Expand description
Describes a volume.
Fields
attachments: Option<Vec<VolumeAttachment>>
Information about the volume attachments.
availability_zone: Option<String>
The Availability Zone for the volume.
create_time: Option<String>
The time stamp when volume creation was initiated.
encrypted: Option<bool>
Indicates whether the volume is encrypted.
fast_restored: Option<bool>
Indicates whether the volume was created using fast snapshot restore.
iops: Option<i64>
The number of I/O operations per second (IOPS). For gp3
, io1
, and io2
volumes, this represents the number of IOPS that are provisioned for the volume. For gp2
volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
kms_key_id: Option<String>
The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the volume encryption key for the volume.
multi_attach_enabled: Option<bool>
Indicates whether Amazon EBS Multi-Attach is enabled.
outpost_arn: Option<String>
The Amazon Resource Name (ARN) of the Outpost.
size: Option<i64>
The size of the volume, in GiBs.
snapshot_id: Option<String>
The snapshot from which the volume was created, if applicable.
state: Option<String>
The volume state.
Any tags assigned to the volume.
throughput: Option<i64>
The throughput that the volume supports, in MiB/s.
volume_id: Option<String>
The ID of the volume.
volume_type: Option<String>
The volume type.
Trait Implementations
impl StructuralPartialEq for Volume
Auto Trait Implementations
impl RefUnwindSafe for Volume
impl Send for Volume
impl Sync for Volume
impl Unpin for Volume
impl UnwindSafe for Volume
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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