pub struct Lowered {
pub cron: String,
pub mode: ExecMode,
pub cooldown: Option<String>,
pub tz: ScheduleTz,
}Expand description
What a When lowers to — the exact (cron, mode, cooldown)
trio the pre-#418 engine ran on. Keeping the engine vocabulary
unchanged is what lets Phase 1 swap the operator surface without
touching the tick / dedup machinery.
Fields§
§cron: StringCron handed to tokio-cron-scheduler — POLL_CRON for
reconcile shapes, a 6/7-field cron for calendar shapes.
mode: ExecModeDedup semantics for decide_fire.
cooldown: Option<String>Humantime re-arm interval (None = succeed once, skip
forever).
tz: ScheduleTzTimezone to evaluate cron in (#418 Phase 2). The scheduler
passes this to Job::new_async_tz. Reconcile shapes carry
the schedule’s tz too even though POLL_CRON is tz-agnostic,
so the same value drives the active-window check.
Auto Trait Implementations§
impl Freeze for Lowered
impl RefUnwindSafe for Lowered
impl Send for Lowered
impl Sync for Lowered
impl Unpin for Lowered
impl UnsafeUnpin for Lowered
impl UnwindSafe for Lowered
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