#[non_exhaustive]pub struct PointInTimeRecoverySpecification {
pub point_in_time_recovery_enabled: bool,
pub recovery_period_in_days: Option<i32>,
}
Expand description
Represents the settings used to enable point in time recovery.
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_enabled: bool
Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
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. If no value is provided, the value will default to 35.
Implementations§
source§impl PointInTimeRecoverySpecification
impl PointInTimeRecoverySpecification
sourcepub fn point_in_time_recovery_enabled(&self) -> bool
pub fn point_in_time_recovery_enabled(&self) -> bool
Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
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. If no value is provided, the value will default to 35.
source§impl PointInTimeRecoverySpecification
impl PointInTimeRecoverySpecification
sourcepub fn builder() -> PointInTimeRecoverySpecificationBuilder
pub fn builder() -> PointInTimeRecoverySpecificationBuilder
Creates a new builder-style object to manufacture PointInTimeRecoverySpecification
.
Trait Implementations§
source§impl Clone for PointInTimeRecoverySpecification
impl Clone for PointInTimeRecoverySpecification
source§fn clone(&self) -> PointInTimeRecoverySpecification
fn clone(&self) -> PointInTimeRecoverySpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PointInTimeRecoverySpecification
impl PartialEq for PointInTimeRecoverySpecification
source§fn eq(&self, other: &PointInTimeRecoverySpecification) -> bool
fn eq(&self, other: &PointInTimeRecoverySpecification) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PointInTimeRecoverySpecification
Auto Trait Implementations§
impl Freeze for PointInTimeRecoverySpecification
impl RefUnwindSafe for PointInTimeRecoverySpecification
impl Send for PointInTimeRecoverySpecification
impl Sync for PointInTimeRecoverySpecification
impl Unpin for PointInTimeRecoverySpecification
impl UnwindSafe for PointInTimeRecoverySpecification
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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