pub struct BackupSchedule {
pub enabled: bool,
pub cron: Option<String>,
pub backup_type: String,
pub retention_days: u32,
pub max_backups: u32,
pub namespaces: Vec<String>,
pub encrypt: bool,
pub compression: Option<String>,
pub last_backup_at: Option<u64>,
pub next_backup_at: Option<u64>,
}Expand description
Backup schedule configuration.
Fields§
§enabled: bool§cron: Option<String>§backup_type: String§retention_days: u32§max_backups: u32§namespaces: Vec<String>§encrypt: bool§compression: Option<String>§last_backup_at: Option<u64>§next_backup_at: Option<u64>Trait Implementations§
Source§impl Clone for BackupSchedule
impl Clone for BackupSchedule
Source§fn clone(&self) -> BackupSchedule
fn clone(&self) -> BackupSchedule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BackupSchedule
impl Debug for BackupSchedule
Source§impl<'de> Deserialize<'de> for BackupSchedule
impl<'de> Deserialize<'de> for BackupSchedule
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
Auto Trait Implementations§
impl Freeze for BackupSchedule
impl RefUnwindSafe for BackupSchedule
impl Send for BackupSchedule
impl Sync for BackupSchedule
impl Unpin for BackupSchedule
impl UnsafeUnpin for BackupSchedule
impl UnwindSafe for BackupSchedule
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