#[non_exhaustive]pub struct PointInTimeRecoveryDescription {
pub point_in_time_recovery_status: Option<PointInTimeRecoveryStatus>,
pub earliest_restorable_date_time: Option<DateTime>,
pub latest_restorable_date_time: Option<DateTime>,
}
Expand description
The description of the point in time settings applied to the table.
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.point_in_time_recovery_status: Option<PointInTimeRecoveryStatus>
The current state of point in time recovery:
-
ENABLED
- Point in time recovery is enabled. -
DISABLED
- Point in time recovery is disabled.
earliest_restorable_date_time: Option<DateTime>
Specifies the earliest point in time you can restore your table to. You can restore your table to any point in time during the last 35 days.
latest_restorable_date_time: Option<DateTime>
LatestRestorableDateTime
is typically 5 minutes before the current time.
Implementations§
source§impl PointInTimeRecoveryDescription
impl PointInTimeRecoveryDescription
sourcepub fn point_in_time_recovery_status(
&self
) -> Option<&PointInTimeRecoveryStatus>
pub fn point_in_time_recovery_status( &self ) -> Option<&PointInTimeRecoveryStatus>
The current state of point in time recovery:
-
ENABLED
- Point in time recovery is enabled. -
DISABLED
- Point in time recovery is disabled.
sourcepub fn earliest_restorable_date_time(&self) -> Option<&DateTime>
pub fn earliest_restorable_date_time(&self) -> Option<&DateTime>
Specifies the earliest point in time you can restore your table to. You can restore your table to any point in time during the last 35 days.
sourcepub fn latest_restorable_date_time(&self) -> Option<&DateTime>
pub fn latest_restorable_date_time(&self) -> Option<&DateTime>
LatestRestorableDateTime
is typically 5 minutes before the current time.
source§impl PointInTimeRecoveryDescription
impl PointInTimeRecoveryDescription
sourcepub fn builder() -> PointInTimeRecoveryDescriptionBuilder
pub fn builder() -> PointInTimeRecoveryDescriptionBuilder
Creates a new builder-style object to manufacture PointInTimeRecoveryDescription
.
Trait Implementations§
source§impl Clone for PointInTimeRecoveryDescription
impl Clone for PointInTimeRecoveryDescription
source§fn clone(&self) -> PointInTimeRecoveryDescription
fn clone(&self) -> PointInTimeRecoveryDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PointInTimeRecoveryDescription
impl PartialEq for PointInTimeRecoveryDescription
source§fn eq(&self, other: &PointInTimeRecoveryDescription) -> bool
fn eq(&self, other: &PointInTimeRecoveryDescription) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PointInTimeRecoveryDescription
Auto Trait Implementations§
impl Freeze for PointInTimeRecoveryDescription
impl RefUnwindSafe for PointInTimeRecoveryDescription
impl Send for PointInTimeRecoveryDescription
impl Sync for PointInTimeRecoveryDescription
impl Unpin for PointInTimeRecoveryDescription
impl UnwindSafe for PointInTimeRecoveryDescription
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