pub struct CronFire {
pub scheduled_at: DateTime<Utc>,
pub fired_at: DateTime<Utc>,
pub counter: u64,
}Expand description
Metadata about a single cron fire, passed to CronCallback.
Fields§
§scheduled_at: DateTime<Utc>When the schedule computed this fire should occur.
fired_at: DateTime<Utc>When the service actually invoked the callback.
counter: u641-based fire counter.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CronFire
impl RefUnwindSafe for CronFire
impl Send for CronFire
impl Sync for CronFire
impl Unpin for CronFire
impl UnsafeUnpin for CronFire
impl UnwindSafe for CronFire
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