#[non_exhaustive]pub struct FixedFrequencySchedule {
pub start_time: Option<TimeOfDay>,
/* private fields */
}Expand description
This schedule allows the backup to be triggered at a fixed frequency (currently only daily is supported).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_time: Option<TimeOfDay>Required. The start time of every automated backup in UTC. It must be set to the start of an hour. This field is required.
Implementations§
Source§impl FixedFrequencySchedule
impl FixedFrequencySchedule
pub fn new() -> Self
Sourcepub fn set_start_time<T>(self, v: T) -> Self
pub fn set_start_time<T>(self, v: T) -> Self
Sets the value of start_time.
Sourcepub fn set_or_clear_start_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_start_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of start_time.
Trait Implementations§
Source§impl Clone for FixedFrequencySchedule
impl Clone for FixedFrequencySchedule
Source§fn clone(&self) -> FixedFrequencySchedule
fn clone(&self) -> FixedFrequencySchedule
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 FixedFrequencySchedule
impl Debug for FixedFrequencySchedule
Source§impl Default for FixedFrequencySchedule
impl Default for FixedFrequencySchedule
Source§fn default() -> FixedFrequencySchedule
fn default() -> FixedFrequencySchedule
Returns the “default value” for a type. Read more
Source§impl Message for FixedFrequencySchedule
impl Message for FixedFrequencySchedule
Source§impl PartialEq for FixedFrequencySchedule
impl PartialEq for FixedFrequencySchedule
impl StructuralPartialEq for FixedFrequencySchedule
Auto Trait Implementations§
impl Freeze for FixedFrequencySchedule
impl RefUnwindSafe for FixedFrequencySchedule
impl Send for FixedFrequencySchedule
impl Sync for FixedFrequencySchedule
impl Unpin for FixedFrequencySchedule
impl UnwindSafe for FixedFrequencySchedule
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