Struct aws_sdk_fsx::operation::restore_volume_from_snapshot::RestoreVolumeFromSnapshotOutput
source · #[non_exhaustive]pub struct RestoreVolumeFromSnapshotOutput {
pub volume_id: Option<String>,
pub lifecycle: Option<VolumeLifecycle>,
pub administrative_actions: Option<Vec<AdministrativeAction>>,
/* 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.volume_id: Option<String>
The ID of the volume that you restored.
lifecycle: Option<VolumeLifecycle>
The lifecycle state of the volume being restored.
administrative_actions: Option<Vec<AdministrativeAction>>
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
Implementations§
source§impl RestoreVolumeFromSnapshotOutput
impl RestoreVolumeFromSnapshotOutput
sourcepub fn lifecycle(&self) -> Option<&VolumeLifecycle>
pub fn lifecycle(&self) -> Option<&VolumeLifecycle>
The lifecycle state of the volume being restored.
sourcepub fn administrative_actions(&self) -> &[AdministrativeAction]
pub fn administrative_actions(&self) -> &[AdministrativeAction]
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .administrative_actions.is_none()
.
source§impl RestoreVolumeFromSnapshotOutput
impl RestoreVolumeFromSnapshotOutput
sourcepub fn builder() -> RestoreVolumeFromSnapshotOutputBuilder
pub fn builder() -> RestoreVolumeFromSnapshotOutputBuilder
Creates a new builder-style object to manufacture RestoreVolumeFromSnapshotOutput
.
Trait Implementations§
source§impl Clone for RestoreVolumeFromSnapshotOutput
impl Clone for RestoreVolumeFromSnapshotOutput
source§fn clone(&self) -> RestoreVolumeFromSnapshotOutput
fn clone(&self) -> RestoreVolumeFromSnapshotOutput
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 PartialEq for RestoreVolumeFromSnapshotOutput
impl PartialEq for RestoreVolumeFromSnapshotOutput
source§fn eq(&self, other: &RestoreVolumeFromSnapshotOutput) -> bool
fn eq(&self, other: &RestoreVolumeFromSnapshotOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for RestoreVolumeFromSnapshotOutput
impl RequestId for RestoreVolumeFromSnapshotOutput
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 RestoreVolumeFromSnapshotOutput
Auto Trait Implementations§
impl Freeze for RestoreVolumeFromSnapshotOutput
impl RefUnwindSafe for RestoreVolumeFromSnapshotOutput
impl Send for RestoreVolumeFromSnapshotOutput
impl Sync for RestoreVolumeFromSnapshotOutput
impl Unpin for RestoreVolumeFromSnapshotOutput
impl UnwindSafe for RestoreVolumeFromSnapshotOutput
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.