pub struct RecoveryConfig {
pub recovery_start: NaiveDate,
pub recovery_end: NaiveDate,
pub affected_period_start: NaiveDate,
pub affected_period_end: NaiveDate,
pub recovery_type: RecoveryType,
pub data_quality: RecoveredDataQuality,
}Expand description
Configuration for data recovery scenarios.
Fields§
§recovery_start: NaiveDateWhen recovery started
recovery_end: NaiveDateWhen recovery completed
affected_period_start: NaiveDatePeriod being recovered
affected_period_end: NaiveDatePeriod being recovered end
recovery_type: RecoveryTypeRecovery approach
data_quality: RecoveredDataQualityQuality of recovered data
Trait Implementations§
Source§impl Clone for RecoveryConfig
impl Clone for RecoveryConfig
Source§fn clone(&self) -> RecoveryConfig
fn clone(&self) -> RecoveryConfig
Returns a duplicate 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 RecoveryConfig
impl Debug for RecoveryConfig
Source§impl<'de> Deserialize<'de> for RecoveryConfig
impl<'de> Deserialize<'de> for RecoveryConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RecoveryConfig
impl PartialEq for RecoveryConfig
Source§impl Serialize for RecoveryConfig
impl Serialize for RecoveryConfig
impl Eq for RecoveryConfig
impl StructuralPartialEq for RecoveryConfig
Auto Trait Implementations§
impl Freeze for RecoveryConfig
impl RefUnwindSafe for RecoveryConfig
impl Send for RecoveryConfig
impl Sync for RecoveryConfig
impl Unpin for RecoveryConfig
impl UnwindSafe for RecoveryConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.