pub struct BackfillRecord {
pub id: String,
pub dag_id: DagId,
pub range_from: Timestamp,
pub range_to: Timestamp,
pub all_fire_times: bool,
pub requested_by: String,
pub created_at: Timestamp,
pub fire_times: u32,
pub created_runs: u32,
pub runs: Vec<(RunState, u32)>,
}Expand description
A backfill as stored, with its runs counted by state.
Fields§
§id: StringIts ID.
dag_id: DagIdThe DAG.
range_from: TimestampThe first moment of its range.
range_to: TimestampThe last moment of its range.
all_fire_times: boolWhether every fire time got a run (--all).
requested_by: StringWho asked for it.
created_at: TimestampWhen.
fire_times: u32How many fire times its range has.
created_runs: u32How many of them got a run (the others were skipped).
runs: Vec<(RunState, u32)>Its runs by state, each state once, in the order the query gave them.
Implementations§
Source§impl BackfillRecord
impl BackfillRecord
Sourcepub fn unfinished(&self) -> bool
pub fn unfinished(&self) -> bool
Whether some of its runs haven’t finished.
Trait Implementations§
Source§impl Clone for BackfillRecord
impl Clone for BackfillRecord
Source§fn clone(&self) -> BackfillRecord
fn clone(&self) -> BackfillRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BackfillRecord
impl Debug for BackfillRecord
impl Eq for BackfillRecord
Source§impl PartialEq for BackfillRecord
impl PartialEq for BackfillRecord
impl StructuralPartialEq for BackfillRecord
Auto Trait Implementations§
impl Freeze for BackfillRecord
impl RefUnwindSafe for BackfillRecord
impl Send for BackfillRecord
impl Sync for BackfillRecord
impl Unpin for BackfillRecord
impl UnsafeUnpin for BackfillRecord
impl UnwindSafe for BackfillRecord
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 more