#[non_exhaustive]pub struct DescribeSnapshotsOutput {
pub snapshots: Option<Vec<Snapshot>>,
pub next_token: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.snapshots: Option<Vec<Snapshot>>
An array of snapshots.
next_token: Option<String>
(Optional) Opaque pagination token returned from a previous operation (String). If present, this token indicates from what point you can continue processing the request, where the previous NextToken
value left off.
Implementations§
source§impl DescribeSnapshotsOutput
impl DescribeSnapshotsOutput
sourcepub fn snapshots(&self) -> &[Snapshot]
pub fn snapshots(&self) -> &[Snapshot]
An array of snapshots.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .snapshots.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
(Optional) Opaque pagination token returned from a previous operation (String). If present, this token indicates from what point you can continue processing the request, where the previous NextToken
value left off.
source§impl DescribeSnapshotsOutput
impl DescribeSnapshotsOutput
sourcepub fn builder() -> DescribeSnapshotsOutputBuilder
pub fn builder() -> DescribeSnapshotsOutputBuilder
Creates a new builder-style object to manufacture DescribeSnapshotsOutput
.
Trait Implementations§
source§impl Clone for DescribeSnapshotsOutput
impl Clone for DescribeSnapshotsOutput
source§fn clone(&self) -> DescribeSnapshotsOutput
fn clone(&self) -> DescribeSnapshotsOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescribeSnapshotsOutput
impl Debug for DescribeSnapshotsOutput
source§impl PartialEq for DescribeSnapshotsOutput
impl PartialEq for DescribeSnapshotsOutput
source§fn eq(&self, other: &DescribeSnapshotsOutput) -> bool
fn eq(&self, other: &DescribeSnapshotsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeSnapshotsOutput
impl RequestId for DescribeSnapshotsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for DescribeSnapshotsOutput
Auto Trait Implementations§
impl Freeze for DescribeSnapshotsOutput
impl RefUnwindSafe for DescribeSnapshotsOutput
impl Send for DescribeSnapshotsOutput
impl Sync for DescribeSnapshotsOutput
impl Unpin for DescribeSnapshotsOutput
impl UnwindSafe for DescribeSnapshotsOutput
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> 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.