pub struct FromCronOptions {
pub tick_ms: u64,
pub now: Option<Rc<dyn Fn() -> CronTick>>,
}Expand description
FromCronOptions data container.
Fields§
§tick_ms: u64tick_ms field for tick ms.
now: Option<Rc<dyn Fn() -> CronTick>>now field for now.
Trait Implementations§
Source§impl Clone for FromCronOptions
impl Clone for FromCronOptions
Source§fn clone(&self) -> FromCronOptions
fn clone(&self) -> FromCronOptions
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 moreAuto Trait Implementations§
impl Freeze for FromCronOptions
impl !RefUnwindSafe for FromCronOptions
impl !Send for FromCronOptions
impl !Sync for FromCronOptions
impl Unpin for FromCronOptions
impl UnsafeUnpin for FromCronOptions
impl !UnwindSafe for FromCronOptions
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