pub struct RunRecord {Show 13 fields
pub id: String,
pub dag_id: DagId,
pub kind: RunKind,
pub state: RunState,
pub planned_for: Timestamp,
pub since: Timestamp,
pub triggered_at: Timestamp,
pub triggered_by: String,
pub started_at: Option<Timestamp>,
pub ended_at: Option<Timestamp>,
pub late_failure: Option<String>,
pub parent_run_id: Option<String>,
pub backfill: Option<BackfillPlace>,
}Expand description
A run, as listed.
Fields§
§id: StringIts ID.
dag_id: DagIdThe DAG.
kind: RunKindWho or what created it.
state: RunStateWhere it stands.
planned_for: TimestampThe moment it is for.
since: TimestampThe start of its window.
triggered_at: TimestampWhen it was created.
triggered_by: Stringscheduler, a user name, the parent run, or trigger.
started_at: Option<Timestamp>When it started running.
ended_at: Option<Timestamp>When it finished.
late_failure: Option<String>Why it turned a yellow success after its end (decision 309): late_cleanup_failed.
parent_run_id: Option<String>The run whose TriggerDagOperator started it (a chained run), or whose success started
it (a RunOf trigger’s).
backfill: Option<BackfillPlace>Its backfill and its place in it (a backfill run).
Trait Implementations§
impl Eq for RunRecord
impl StructuralPartialEq for RunRecord
Auto Trait Implementations§
impl Freeze for RunRecord
impl RefUnwindSafe for RunRecord
impl Send for RunRecord
impl Sync for RunRecord
impl Unpin for RunRecord
impl UnsafeUnpin for RunRecord
impl UnwindSafe for RunRecord
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