Struct aws_sdk_workspaces::operation::describe_workspace_snapshots::DescribeWorkspaceSnapshotsOutput
source · #[non_exhaustive]pub struct DescribeWorkspaceSnapshotsOutput {
pub rebuild_snapshots: Option<Vec<Snapshot>>,
pub restore_snapshots: Option<Vec<Snapshot>>,
/* private fields */
}
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.rebuild_snapshots: Option<Vec<Snapshot>>
Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume.
restore_snapshots: Option<Vec<Snapshot>>
Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume.
Implementations§
source§impl DescribeWorkspaceSnapshotsOutput
impl DescribeWorkspaceSnapshotsOutput
sourcepub fn rebuild_snapshots(&self) -> &[Snapshot]
pub fn rebuild_snapshots(&self) -> &[Snapshot]
Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rebuild_snapshots.is_none()
.
sourcepub fn restore_snapshots(&self) -> &[Snapshot]
pub fn restore_snapshots(&self) -> &[Snapshot]
Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .restore_snapshots.is_none()
.
source§impl DescribeWorkspaceSnapshotsOutput
impl DescribeWorkspaceSnapshotsOutput
sourcepub fn builder() -> DescribeWorkspaceSnapshotsOutputBuilder
pub fn builder() -> DescribeWorkspaceSnapshotsOutputBuilder
Creates a new builder-style object to manufacture DescribeWorkspaceSnapshotsOutput
.
Trait Implementations§
source§impl Clone for DescribeWorkspaceSnapshotsOutput
impl Clone for DescribeWorkspaceSnapshotsOutput
source§fn clone(&self) -> DescribeWorkspaceSnapshotsOutput
fn clone(&self) -> DescribeWorkspaceSnapshotsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeWorkspaceSnapshotsOutput
impl PartialEq for DescribeWorkspaceSnapshotsOutput
source§fn eq(&self, other: &DescribeWorkspaceSnapshotsOutput) -> bool
fn eq(&self, other: &DescribeWorkspaceSnapshotsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeWorkspaceSnapshotsOutput
impl RequestId for DescribeWorkspaceSnapshotsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeWorkspaceSnapshotsOutput
Auto Trait Implementations§
impl Freeze for DescribeWorkspaceSnapshotsOutput
impl RefUnwindSafe for DescribeWorkspaceSnapshotsOutput
impl Send for DescribeWorkspaceSnapshotsOutput
impl Sync for DescribeWorkspaceSnapshotsOutput
impl Unpin for DescribeWorkspaceSnapshotsOutput
impl UnwindSafe for DescribeWorkspaceSnapshotsOutput
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
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>
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>
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