pub struct SnapshotSchedule {
pub enabled: bool,
pub weekday: u8,
pub hour: u8,
pub minute: u8,
}Expand description
定期スナップショットの予定。
Fields§
§enabled: bool§weekday: u80 = 日曜 … 6 = 土曜。
hour: u80〜23(JST)。
minute: u80〜59。
Implementations§
Trait Implementations§
Source§impl Clone for SnapshotSchedule
impl Clone for SnapshotSchedule
impl Copy for SnapshotSchedule
Source§impl Debug for SnapshotSchedule
impl Debug for SnapshotSchedule
impl Eq for SnapshotSchedule
Source§impl PartialEq for SnapshotSchedule
impl PartialEq for SnapshotSchedule
impl StructuralPartialEq for SnapshotSchedule
Auto Trait Implementations§
impl Freeze for SnapshotSchedule
impl RefUnwindSafe for SnapshotSchedule
impl Send for SnapshotSchedule
impl Sync for SnapshotSchedule
impl Unpin for SnapshotSchedule
impl UnsafeUnpin for SnapshotSchedule
impl UnwindSafe for SnapshotSchedule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.