pub struct Volume {Show 14 fields
pub volume_id: String,
pub size: i32,
pub snapshot_id: Option<String>,
pub availability_zone: String,
pub state: String,
pub volume_type: String,
pub iops: Option<i32>,
pub throughput: Option<i32>,
pub encrypted: bool,
pub create_time: String,
pub attachments: Vec<VolumeAttachment>,
pub tags: Tags,
pub recycle_bin_state: Option<String>,
pub source_volume_id: Option<String>,
}Fields§
§volume_id: String§size: i32§snapshot_id: Option<String>§availability_zone: String§state: String§volume_type: String§iops: Option<i32>§throughput: Option<i32>§encrypted: bool§create_time: String§attachments: Vec<VolumeAttachment>§recycle_bin_state: Option<String>One of “in-recycle-bin” or empty. Set when the volume is moved to the Recycle Bin (mock policy treats every deletion as recoverable).
source_volume_id: Option<String>Set when the volume was created via CopyVolumes.
Trait Implementations§
Source§impl From<&Volume> for VolumeView
impl From<&Volume> for VolumeView
Source§impl From<VolumeView> for Volume
impl From<VolumeView> for Volume
Source§fn from(v: VolumeView) -> Self
fn from(v: VolumeView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Volume
impl RefUnwindSafe for Volume
impl Send for Volume
impl Sync for Volume
impl Unpin for Volume
impl UnsafeUnpin for Volume
impl UnwindSafe for Volume
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.