pub struct DagNode {
pub id: usize,
pub node_type: NodeType,
pub status: NodeStatus,
pub depends_on: Vec<usize>,
pub tags: Vec<String>,
}Expand description
A single node in the DAG.
Fields§
§id: usize§node_type: NodeType§status: NodeStatus§depends_on: Vec<usize>Indices into Dag::nodes of upstream dependencies.
Tags for filtering (e.g. “episode:01”, “source”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DagNode
impl RefUnwindSafe for DagNode
impl Send for DagNode
impl Sync for DagNode
impl Unpin for DagNode
impl UnwindSafe for DagNode
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