pub struct DatabaseBackupConfig {
pub active: Option<bool>,
pub interval: Option<String>,
pub backup_interval: Option<String>,
pub time_utc: Option<String>,
pub database_backup_time_utc: Option<String>,
pub storage_type: Option<String>,
pub backup_storage_type: Option<String>,
pub storage_path: Option<String>,
pub extra: Value,
}Expand description
Optional. Changes Remote backup configuration details.
Fields§
§active: Option<bool>Optional. Determine if backup should be active. Default: null
interval: Option<String>Required when active is ‘true’. Defines the interval between backups. Format: ‘every-x-hours’, where x is one of 24, 12, 6, 4, 2, or 1. Example: “every-4-hours”
backup_interval: Option<String>§time_utc: Option<String>Optional. Hour when the backup starts. Available only for “every-12-hours” and “every-24-hours” backup intervals. Specified as an hour in 24-hour UTC time. Example: “14:00” is 2 PM UTC.
database_backup_time_utc: Option<String>§storage_type: Option<String>Required when active is ‘true’. Type of storage to host backup files. Can be “aws-s3”, “google-blob-storage”, “azure-blob-storage”, or “ftp”. See Set up backup storage locations to learn how to set up backup storage locations.
backup_storage_type: Option<String>§storage_path: Option<String>Required when active is ‘true’. Path to the backup storage location.
extra: ValueAdditional fields from the API
Trait Implementations§
Source§impl Clone for DatabaseBackupConfig
impl Clone for DatabaseBackupConfig
Source§fn clone(&self) -> DatabaseBackupConfig
fn clone(&self) -> DatabaseBackupConfig
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DatabaseBackupConfig
impl Debug for DatabaseBackupConfig
Source§impl<'de> Deserialize<'de> for DatabaseBackupConfig
impl<'de> Deserialize<'de> for DatabaseBackupConfig
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>,
Auto Trait Implementations§
impl Freeze for DatabaseBackupConfig
impl RefUnwindSafe for DatabaseBackupConfig
impl Send for DatabaseBackupConfig
impl Sync for DatabaseBackupConfig
impl Unpin for DatabaseBackupConfig
impl UnwindSafe for DatabaseBackupConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)