pub struct PeriodicTask {
pub started_after: u64,
pub interval: u64,
pub last_run: u64,
pub sync: bool,
}Fields§
§started_after: u64§interval: u64§last_run: u64§sync: boolTrait Implementations§
Source§impl Clone for PeriodicTask
impl Clone for PeriodicTask
Source§fn clone(&self) -> PeriodicTask
fn clone(&self) -> PeriodicTask
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 PeriodicTask
impl Debug for PeriodicTask
Source§impl<'de> Deserialize<'de> for PeriodicTask
impl<'de> Deserialize<'de> for PeriodicTask
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 PeriodicTask
impl RefUnwindSafe for PeriodicTask
impl Send for PeriodicTask
impl Sync for PeriodicTask
impl Unpin for PeriodicTask
impl UnwindSafe for PeriodicTask
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