pub struct ActiveDag {
pub paused: bool,
pub held: Option<Held>,
pub first_seen: Timestamp,
pub version_id: String,
pub dag: Arc<Dag>,
}Expand description
A DAG the scheduler looks at: not removed, not in conflict, with a current version.
Fields§
§paused: boolWhether its trigger is paused (no new scheduled runs; queued runs still start), or it has none (decision 459).
held: Option<Held>Why it is held, when the file defining it fails to import in its root’s current parse (decision 72): no run is created or started, and manual triggers are refused.
first_seen: TimestampWhen the master first stored it.
version_id: StringIts current version’s ID.
dag: Arc<Dag>Its current version.
Trait Implementations§
impl Eq for ActiveDag
impl StructuralPartialEq for ActiveDag
Auto Trait Implementations§
impl Freeze for ActiveDag
impl RefUnwindSafe for ActiveDag
impl Send for ActiveDag
impl Sync for ActiveDag
impl Unpin for ActiveDag
impl UnsafeUnpin for ActiveDag
impl UnwindSafe for ActiveDag
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