pub struct ScheduleDecision {
pub tick_at: Option<DateTime<Utc>>,
pub next_at: DateTime<Utc>,
pub catch_up_count: u32,
}Expand description
Result of schedule_decision: whether an overdue schedule runs and where
its durable cursor moves.
Fields§
§tick_at: Option<DateTime<Utc>>Occurrence to run now; None when the policy skips the missed window.
next_at: DateTime<Utc>Next occurrence to persist as the schedule cursor.
catch_up_count: u32Catch-up ticks completed so far in the current CatchUpAll burst.
Trait Implementations§
Source§impl Clone for ScheduleDecision
impl Clone for ScheduleDecision
Source§fn clone(&self) -> ScheduleDecision
fn clone(&self) -> ScheduleDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScheduleDecision
Source§impl Debug for ScheduleDecision
impl Debug for ScheduleDecision
impl Eq for ScheduleDecision
Source§impl PartialEq for ScheduleDecision
impl PartialEq for ScheduleDecision
impl StructuralPartialEq for ScheduleDecision
Auto Trait Implementations§
impl Freeze for ScheduleDecision
impl RefUnwindSafe for ScheduleDecision
impl Send for ScheduleDecision
impl Sync for ScheduleDecision
impl Unpin for ScheduleDecision
impl UnsafeUnpin for ScheduleDecision
impl UnwindSafe for ScheduleDecision
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