pub struct ScheduleRow {
pub schedule_id: String,
pub spec: String,
pub paused: bool,
pub next_fire_ms: Option<u64>,
pub due_ms: Option<u64>,
pub last_fire_ms: Option<u64>,
pub last_execution_id: Option<String>,
pub fired: u64,
pub skipped: u64,
pub last_error: Option<String>,
pub created_at_ms: u64,
pub updated_at_ms: u64,
}Expand description
A schedule as stored in orbit_schedules. spec is the JSON of
crate::schedule::ScheduleSpec; the other columns are the schedule’s
progress, written by whichever server fires it.
Fields§
§schedule_id: String§spec: String§paused: bool§next_fire_ms: Option<u64>The next occurrence (nominal time); None once the schedule ended.
due_ms: Option<u64>When that occurrence fires: next_fire_ms plus the jitter.
last_fire_ms: Option<u64>§last_execution_id: Option<String>§fired: u64§skipped: u64§last_error: Option<String>§created_at_ms: u64§updated_at_ms: u64Trait Implementations§
Source§impl Clone for ScheduleRow
impl Clone for ScheduleRow
Source§impl Debug for ScheduleRow
impl Debug for ScheduleRow
Source§impl PartialEq for ScheduleRow
impl PartialEq for ScheduleRow
impl StructuralPartialEq for ScheduleRow
Auto Trait Implementations§
impl Forget for ScheduleRow
impl Freeze for ScheduleRow
impl Move for ScheduleRow
impl RefUnwindSafe for ScheduleRow
impl Send for ScheduleRow
impl Sync for ScheduleRow
impl Unpin for ScheduleRow
impl UnsafeUnpin for ScheduleRow
impl UnwindSafe for ScheduleRow
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request