pub struct NewBackfill<'a> {
pub id: &'a str,
pub dag_id: &'a DagId,
pub range_from: Timestamp,
pub range_to: Timestamp,
pub all_fire_times: bool,
pub requested_by: &'a str,
pub created_at: Timestamp,
pub fire_times: u32,
pub created_runs: u32,
}Expand description
A backfill to store, with its runs (stored alongside, in the same transaction).
Fields§
§id: &'a strIts ID (the command’s).
dag_id: &'a DagIdThe DAG.
range_from: TimestampThe first moment of its range.
range_to: TimestampThe last moment of its range (now, for a range ending later).
all_fire_times: boolWhether every fire time got a run (--all).
requested_by: &'a strWho asked for it.
created_at: TimestampWhen.
fire_times: u32How many fire times its range has.
created_runs: u32How many of them got a run.
Trait Implementations§
Source§impl<'a> Clone for NewBackfill<'a>
impl<'a> Clone for NewBackfill<'a>
Source§fn clone(&self) -> NewBackfill<'a>
fn clone(&self) -> NewBackfill<'a>
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<'a> Debug for NewBackfill<'a>
impl<'a> Debug for NewBackfill<'a>
impl<'a> Eq for NewBackfill<'a>
Source§impl<'a> PartialEq for NewBackfill<'a>
impl<'a> PartialEq for NewBackfill<'a>
impl<'a> StructuralPartialEq for NewBackfill<'a>
Auto Trait Implementations§
impl<'a> Freeze for NewBackfill<'a>
impl<'a> RefUnwindSafe for NewBackfill<'a>
impl<'a> Send for NewBackfill<'a>
impl<'a> Sync for NewBackfill<'a>
impl<'a> Unpin for NewBackfill<'a>
impl<'a> UnsafeUnpin for NewBackfill<'a>
impl<'a> UnwindSafe for NewBackfill<'a>
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