pub struct Fire {
pub task_id: TaskId,
pub prompt: String,
pub fired_at: DateTime<Utc>,
pub final_fire: bool,
}Expand description
What Scheduler::tick returns for each due task.
Fields§
§task_id: TaskId§prompt: String§fired_at: DateTime<Utc>§final_fire: boolTrue when this is the last time the task will fire (one-shot or expired recurring).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fire
impl RefUnwindSafe for Fire
impl Send for Fire
impl Sync for Fire
impl Unpin for Fire
impl UnsafeUnpin for Fire
impl UnwindSafe for Fire
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