pub struct ScheduleSpec {
pub keep: u32,
pub at: Option<String>,
}Expand description
A scheduled backup cadence: keep at most keep snapshots of this mode,
run at at (24h HH:MM; None => the 03:00 default). Used both to set
the schedule (SetSchedule) and to report it (BackupStatusView).
Fields§
§keep: u32§at: Option<String>Trait Implementations§
Source§impl Clone for ScheduleSpec
impl Clone for ScheduleSpec
Source§fn clone(&self) -> ScheduleSpec
fn clone(&self) -> ScheduleSpec
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 ScheduleSpec
impl Debug for ScheduleSpec
Source§impl<'de> Deserialize<'de> for ScheduleSpec
impl<'de> Deserialize<'de> for ScheduleSpec
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 ScheduleSpec
impl RefUnwindSafe for ScheduleSpec
impl Send for ScheduleSpec
impl Sync for ScheduleSpec
impl Unpin for ScheduleSpec
impl UnsafeUnpin for ScheduleSpec
impl UnwindSafe for ScheduleSpec
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