logo
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.

tags: Option<Vec<Tag>>

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more