pub struct NextRun {
pub at_ms: Option<u64>,
pub label: String,
pub desc: String,
pub paused: bool,
}Expand description
When a job will run next, derived from its settings.
Fields§
§at_ms: Option<u64>Epoch ms of the next execution; None when it can’t be predicted (paused, file-arrival, unparseable cron).
label: StringShort label for list rows, e.g. “in 27m”, “paused”, “on file arrival”.
desc: StringLonger description for the upcoming view, e.g. the cron expression.
paused: boolAuto Trait Implementations§
impl Freeze for NextRun
impl RefUnwindSafe for NextRun
impl Send for NextRun
impl Sync for NextRun
impl Unpin for NextRun
impl UnsafeUnpin for NextRun
impl UnwindSafe for NextRun
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more