pub struct DagNode {
pub id: String,
pub step: StepConfig,
pub depends_on: Vec<String>,
pub children: Vec<String>,
pub level: usize,
}Expand description
A node in the workflow DAG — represents a compiled step.
Fields§
§id: StringThe step ID (unique within the DAG).
step: StepConfigThe step configuration.
depends_on: Vec<String>IDs of nodes this node depends on (must complete before this one).
children: Vec<String>IDs of nodes that depend on this node (this must complete before them).
level: usizeThe parallel level (0 = root, 1 = first generation, etc.).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DagNode
impl<'de> Deserialize<'de> for DagNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for DagNode
Auto Trait Implementations§
impl Freeze for DagNode
impl RefUnwindSafe for DagNode
impl Send for DagNode
impl Sync for DagNode
impl Unpin for DagNode
impl UnsafeUnpin 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