#[non_exhaustive]pub struct PointInTimeRecoveryDescription {
pub point_in_time_recovery_status: Option<PointInTimeRecoveryStatus>,
pub recovery_period_in_days: Option<i32>,
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.
recovery_period_in_days: Option<i32>
The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional.
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 recovery_period_in_days(&self) -> Option<i32>
pub fn recovery_period_in_days(&self) -> Option<i32>
The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional.
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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