pub struct AutomatedBackupConfig {
pub automated_backup_mode: Option<String>,
pub fixed_frequency_schedule: Option<FixedFrequencySchedule>,
pub retention: Option<Duration>,
}Expand description
The automated backup config for a cluster.
This type is not used in any activity, and only used as part of another schema.
Fields§
§automated_backup_mode: Option<String>Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
fixed_frequency_schedule: Option<FixedFrequencySchedule>Optional. Trigger automated backups at a fixed frequency.
retention: Option<Duration>Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
Trait Implementations§
Source§impl Clone for AutomatedBackupConfig
impl Clone for AutomatedBackupConfig
Source§fn clone(&self) -> AutomatedBackupConfig
fn clone(&self) -> AutomatedBackupConfig
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 AutomatedBackupConfig
impl Debug for AutomatedBackupConfig
Source§impl Default for AutomatedBackupConfig
impl Default for AutomatedBackupConfig
Source§fn default() -> AutomatedBackupConfig
fn default() -> AutomatedBackupConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutomatedBackupConfig
impl<'de> Deserialize<'de> for AutomatedBackupConfig
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 Serialize for AutomatedBackupConfig
impl Serialize for AutomatedBackupConfig
impl Part for AutomatedBackupConfig
Auto Trait Implementations§
impl Freeze for AutomatedBackupConfig
impl RefUnwindSafe for AutomatedBackupConfig
impl Send for AutomatedBackupConfig
impl Sync for AutomatedBackupConfig
impl Unpin for AutomatedBackupConfig
impl UnwindSafe for AutomatedBackupConfig
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