pub struct CronWorkerInfo {
pub name: String,
pub schedule: Schedule,
pub queue_key: String,
pub next_run: Option<DateTime<Utc>>,
}Expand description
Information about a registered cron worker.
Fields§
§name: StringThe worker name (Rust type path).
schedule: ScheduleThe cron schedule expression.
queue_key: StringThe queue key this worker runs on.
next_run: Option<DateTime<Utc>>The next scheduled run time, if any.
Trait Implementations§
Source§impl Clone for CronWorkerInfo
impl Clone for CronWorkerInfo
Source§fn clone(&self) -> CronWorkerInfo
fn clone(&self) -> CronWorkerInfo
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 moreAuto Trait Implementations§
impl Freeze for CronWorkerInfo
impl RefUnwindSafe for CronWorkerInfo
impl Send for CronWorkerInfo
impl Sync for CronWorkerInfo
impl Unpin for CronWorkerInfo
impl UnsafeUnpin for CronWorkerInfo
impl UnwindSafe for CronWorkerInfo
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