pub struct StoredDag {
pub dag_id: DagId,
pub paused: Option<bool>,
pub removed: bool,
pub conflict: Option<Vec<DagLocation>>,
pub current: Option<CurrentVersion>,
}Expand description
A stored DAG.
Fields§
§dag_id: DagIdThe DAG’s ID.
paused: Option<bool>Its trigger’s switch (decision 459): whether it is paused; None without a trigger
(run only by hand), which has no switch.
removed: boolWhether it was removed (hidden, history kept).
conflict: Option<Vec<DagLocation>>The places defining it, while it is in conflict.
current: Option<CurrentVersion>Its current version (none for a DAG only ever seen in conflict).
Trait Implementations§
impl Eq for StoredDag
impl StructuralPartialEq for StoredDag
Auto Trait Implementations§
impl Freeze for StoredDag
impl RefUnwindSafe for StoredDag
impl Send for StoredDag
impl Sync for StoredDag
impl Unpin for StoredDag
impl UnsafeUnpin for StoredDag
impl UnwindSafe for StoredDag
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