pub struct DepRef {
pub id: i64,
pub title: String,
pub state: TaskState,
pub kind: DepKind,
}Expand description
A dependency edge resolved for display: the task at the other end of the
edge with its current title and state, plus the edge’s kind. Which end is
“other” depends on the query — the dependency for
Store::deps_by_task, the dependant for
Store::dependents_by_task.
Fields§
§id: i64§title: String§state: TaskState§kind: DepKindImplementations§
Trait Implementations§
impl Eq for DepRef
impl StructuralPartialEq for DepRef
Auto Trait Implementations§
impl Freeze for DepRef
impl RefUnwindSafe for DepRef
impl Send for DepRef
impl Sync for DepRef
impl Unpin for DepRef
impl UnsafeUnpin for DepRef
impl UnwindSafe for DepRef
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.