pub struct SchedulerConfig {
pub timezone: Tz,
pub history_limit: usize,
pub terminal_state_policy: TerminalStatePolicy,
}Fields§
§timezone: TzThe timezone forwarded to each crate::RunContext and used to
evaluate Schedule::Cron expressions.
This does not rewrite Schedule::AtTimes values, which already carry
their own timezone-aware timestamps.
history_limit: usizeThe maximum number of crate::RunRecord items kept in memory.
terminal_state_policy: TerminalStatePolicyControls how persisted state is handled once a job reaches a terminal
state (next_run_at == None and no further work is pending).
Trait Implementations§
Source§impl Clone for SchedulerConfig
impl Clone for SchedulerConfig
Source§fn clone(&self) -> SchedulerConfig
fn clone(&self) -> SchedulerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchedulerConfig
impl Debug for SchedulerConfig
Auto Trait Implementations§
impl Freeze for SchedulerConfig
impl RefUnwindSafe for SchedulerConfig
impl Send for SchedulerConfig
impl Sync for SchedulerConfig
impl Unpin for SchedulerConfig
impl UnsafeUnpin for SchedulerConfig
impl UnwindSafe for SchedulerConfig
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