Struct schedule::Job [] [src]

pub struct Job<'a> {
    pub next_run_at: Option<DateTime<UTC>>,
    // some fields omitted
}

Fields

DateTime of the next run

Methods

impl<'a> Job<'a>
[src]

Return true if the job should be run now.

Run the job immediately and reschedule it.