Struct aws_sdk_ec2::model::SnapshotInfo
source · [−]#[non_exhaustive]pub struct SnapshotInfo {
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
pub encrypted: Option<bool>,
pub volume_id: Option<String>,
pub state: Option<SnapshotState>,
pub volume_size: Option<i32>,
pub start_time: Option<DateTime>,
pub progress: Option<String>,
pub owner_id: Option<String>,
pub snapshot_id: Option<String>,
pub outpost_arn: Option<String>,
}
Expand description
Information about a snapshot.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.description: Option<String>
Description specified by the CreateSnapshotRequest that has been applied to all snapshots.
Tags associated with this snapshot.
encrypted: Option<bool>
Indicates whether the snapshot is encrypted.
volume_id: Option<String>
Source volume from which this snapshot was created.
state: Option<SnapshotState>
Current state of the snapshot.
volume_size: Option<i32>
Size of the volume from which this snapshot was created.
start_time: Option<DateTime>
Time this snapshot was started. This is the same for all snapshots initiated by the same request.
progress: Option<String>
Progress this snapshot has made towards completing.
owner_id: Option<String>
Account id used when creating this snapshot.
snapshot_id: Option<String>
Snapshot id that can be used to describe this snapshot.
outpost_arn: Option<String>
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.
Implementations
sourceimpl SnapshotInfo
impl SnapshotInfo
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description specified by the CreateSnapshotRequest that has been applied to all snapshots.
Tags associated with this snapshot.
sourcepub fn state(&self) -> Option<&SnapshotState>
pub fn state(&self) -> Option<&SnapshotState>
Current state of the snapshot.
sourcepub fn volume_size(&self) -> Option<i32>
pub fn volume_size(&self) -> Option<i32>
Size of the volume from which this snapshot was created.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
Time this snapshot was started. This is the same for all snapshots initiated by the same request.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
Snapshot id that can be used to describe this snapshot.
sourcepub fn outpost_arn(&self) -> Option<&str>
pub fn outpost_arn(&self) -> Option<&str>
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.
sourceimpl SnapshotInfo
impl SnapshotInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SnapshotInfo
.
Trait Implementations
sourceimpl Clone for SnapshotInfo
impl Clone for SnapshotInfo
sourcefn clone(&self) -> SnapshotInfo
fn clone(&self) -> SnapshotInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SnapshotInfo
impl Debug for SnapshotInfo
sourceimpl PartialEq<SnapshotInfo> for SnapshotInfo
impl PartialEq<SnapshotInfo> for SnapshotInfo
sourcefn eq(&self, other: &SnapshotInfo) -> bool
fn eq(&self, other: &SnapshotInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SnapshotInfo) -> bool
fn ne(&self, other: &SnapshotInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for SnapshotInfo
Auto Trait Implementations
impl RefUnwindSafe for SnapshotInfo
impl Send for SnapshotInfo
impl Sync for SnapshotInfo
impl Unpin for SnapshotInfo
impl UnwindSafe for SnapshotInfo
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> 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