pub struct Snapshot {
pub account_alias: Option<String>,
pub account_id: Option<String>,
pub client_token: Option<String>,
pub creation_date: Option<String>,
pub description: Option<String>,
pub permissions_to_create_volume: Option<Box<PermissionsOnResource>>,
pub progress: Option<i32>,
pub snapshot_id: Option<String>,
pub state: Option<String>,
pub tags: Option<Vec<ResourceTag>>,
pub volume_id: Option<String>,
pub volume_size: Option<i32>,
}
Expand description
Snapshot : Information about the snapshot.
Fields§
§account_alias: Option<String>
The account alias of the owner of the snapshot.
account_id: Option<String>
The account ID of the owner of the snapshot.
client_token: Option<String>
The idempotency token provided when creating the snapshot.
creation_date: Option<String>
The date and time (UTC) at which the snapshot was created.
description: Option<String>
The description of the snapshot.
permissions_to_create_volume: Option<Box<PermissionsOnResource>>
§progress: Option<i32>
The progress of the snapshot, as a percentage.
snapshot_id: Option<String>
The ID of the snapshot.
state: Option<String>
The state of the snapshot (in-queue
\| pending
\| completed
\| error
\| deleting
)).
One or more tags associated with the snapshot.
volume_id: Option<String>
The ID of the volume used to create the snapshot.
volume_size: Option<i32>
The size of the volume used to create the snapshot, in gibibytes (GiB).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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 more