pub struct RecurringJobInfo {
pub base_job: JobStatus,
pub schedule: RecurringJobSchedule,
pub last_run: Option<JobStatus>,
pub next_run: Option<(Uuid, OffsetDateTime)>,
}
Expand description
Information about a recurring job.
Fields§
§base_job: JobStatus
The template that new instances of the recurring job are based on.
schedule: RecurringJobSchedule
The schedule for the recurring job.
last_run: Option<JobStatus>
The status of the last (or current) run.
next_run: Option<(Uuid, OffsetDateTime)>
The job ID of the next job to run and its next time, if it’s not currently running.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecurringJobInfo
impl RefUnwindSafe for RecurringJobInfo
impl Send for RecurringJobInfo
impl Sync for RecurringJobInfo
impl Unpin for RecurringJobInfo
impl UnwindSafe for RecurringJobInfo
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