pub struct Fire {
pub task_id: String,
pub fire_at: Timestamp,
pub state: FireState,
pub attempts: u32,
pub updated_at: Timestamp,
}Expand description
One firing of a task: the task id and its planned time identify it.
Fields§
§task_id: StringTask id (tasks/people/owner/t-7k2m9q).
fire_at: TimestampThe planned time.
state: FireStateWhere it is.
attempts: u32Delivery attempts so far.
updated_at: TimestampLast change.
Trait Implementations§
impl Eq for Fire
impl StructuralPartialEq for Fire
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