pub struct Relations {
pub task: Task,
pub parent: Option<NativeId>,
pub children: Vec<NativeId>,
pub children_complete: bool,
}Expand description
What a source reads of one task’s relations.
Fields§
§task: TaskThe task as the source reads it — its links under TaskLink::METADATA_KEY, its
version, and its content with the ## Links section already stripped.
parent: Option<NativeId>Its parent, a task of the same source, or None.
children: Vec<NativeId>Its children, each a task of the same source.
children_complete: boolWhether children is every child: false when the source read fewer than it holds.
Trait Implementations§
impl StructuralPartialEq for Relations
Auto Trait Implementations§
impl Forget for Relations
impl Freeze for Relations
impl Move for Relations
impl RefUnwindSafe for Relations
impl Send for Relations
impl Sync for Relations
impl Unpin for Relations
impl UnsafeUnpin for Relations
impl UnwindSafe for Relations
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