Struct aws_sdk_drs::types::RecoveryLifeCycle
source · #[non_exhaustive]pub struct RecoveryLifeCycle {
pub api_call_date_time: Option<DateTime>,
pub job_id: Option<String>,
pub last_recovery_result: Option<RecoveryResult>,
}Expand description
An object representing the Source Network recovery Lifecycle.
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.api_call_date_time: Option<DateTime>The date and time the last Source Network recovery was initiated.
job_id: Option<String>The ID of the Job that was used to last recover the Source Network.
last_recovery_result: Option<RecoveryResult>The status of the last recovery status of this Source Network.
Implementations§
source§impl RecoveryLifeCycle
impl RecoveryLifeCycle
sourcepub fn api_call_date_time(&self) -> Option<&DateTime>
pub fn api_call_date_time(&self) -> Option<&DateTime>
The date and time the last Source Network recovery was initiated.
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The ID of the Job that was used to last recover the Source Network.
sourcepub fn last_recovery_result(&self) -> Option<&RecoveryResult>
pub fn last_recovery_result(&self) -> Option<&RecoveryResult>
The status of the last recovery status of this Source Network.
source§impl RecoveryLifeCycle
impl RecoveryLifeCycle
sourcepub fn builder() -> RecoveryLifeCycleBuilder
pub fn builder() -> RecoveryLifeCycleBuilder
Creates a new builder-style object to manufacture RecoveryLifeCycle.
Trait Implementations§
source§impl Clone for RecoveryLifeCycle
impl Clone for RecoveryLifeCycle
source§fn clone(&self) -> RecoveryLifeCycle
fn clone(&self) -> RecoveryLifeCycle
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 RecoveryLifeCycle
impl Debug for RecoveryLifeCycle
source§impl PartialEq for RecoveryLifeCycle
impl PartialEq for RecoveryLifeCycle
source§fn eq(&self, other: &RecoveryLifeCycle) -> bool
fn eq(&self, other: &RecoveryLifeCycle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RecoveryLifeCycle
Auto Trait Implementations§
impl RefUnwindSafe for RecoveryLifeCycle
impl Send for RecoveryLifeCycle
impl Sync for RecoveryLifeCycle
impl Unpin for RecoveryLifeCycle
impl UnwindSafe for RecoveryLifeCycle
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>
Creates a shared type from an unshared type.