pub struct ChainedAttempt {Show 14 fields
pub id: String,
pub instance_id: String,
pub run_id: String,
pub task_id: TaskId,
pub map_index: i32,
pub started_at: Timestamp,
pub chained_run_id: String,
pub chained_state: Option<RunState>,
pub chained_ended_at: Option<Timestamp>,
pub dag: Arc<Dag>,
pub cancel_requested: bool,
pub run_kind: RunKind,
pub planned_for: Timestamp,
pub since: Timestamp,
}Expand description
An open TriggerDagOperator attempt (see Database::chained_attempts).
Fields§
§id: StringThe attempt’s ID.
instance_id: StringIts task instance’s ID.
run_id: StringThe run it belongs to (the parent of the run it starts).
task_id: TaskIdIts task.
map_index: i32Its instance (-1: the whole task).
started_at: TimestampWhen it started.
chained_run_id: StringThe run it starts.
chained_state: Option<RunState>That run’s state; None while it isn’t created.
chained_ended_at: Option<Timestamp>When that run ended, if it has.
dag: Arc<Dag>The parent run’s DAG.
cancel_requested: boolWhether the parent run, or this task of it, is being cancelled.
run_kind: RunKindThe parent run’s kind.
planned_for: TimestampThe parent run’s planned_for.
since: TimestampThe parent run’s since.
Trait Implementations§
Source§impl Clone for ChainedAttempt
impl Clone for ChainedAttempt
Source§fn clone(&self) -> ChainedAttempt
fn clone(&self) -> ChainedAttempt
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 ChainedAttempt
impl Debug for ChainedAttempt
impl Eq for ChainedAttempt
Source§impl PartialEq for ChainedAttempt
impl PartialEq for ChainedAttempt
impl StructuralPartialEq for ChainedAttempt
Auto Trait Implementations§
impl Freeze for ChainedAttempt
impl RefUnwindSafe for ChainedAttempt
impl Send for ChainedAttempt
impl Sync for ChainedAttempt
impl Unpin for ChainedAttempt
impl UnsafeUnpin for ChainedAttempt
impl UnwindSafe for ChainedAttempt
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