pub struct CronJob {
pub name: CompactString,
pub schedule: Schedule,
pub agent: CompactString,
pub message: String,
}Expand description
A parsed cron job ready for scheduling.
Fields§
§name: CompactStringJob name.
schedule: ScheduleParsed cron schedule.
agent: CompactStringTarget agent name.
message: StringMessage to send on each fire.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CronJob
impl RefUnwindSafe for CronJob
impl Send for CronJob
impl Sync for CronJob
impl Unpin for CronJob
impl UnsafeUnpin for CronJob
impl UnwindSafe for CronJob
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