pub struct Node {
pub block: PathBuf,
pub input: Option<InputExpr>,
pub repeat_until: Option<String>,
pub max_iterations: Option<u32>,
}Expand description
One node in the graph.
Fields§
§block: PathBufThe block/bundle this node runs — same string shape as today’s
pipeline entries (a path, or a bare name@version).
input: Option<InputExpr>What feeds this node. None only for a node with no inbound edge —
the graph’s entry point(s).
repeat_until: Option<String>Bounded-loop marker: the Ty::Text output field compared against
"done". Requires max_iterations.
max_iterations: Option<u32>Mandatory alongside repeat_until — enforced at parse time, not left
as a typecheck-time gap, since a missing bound is a spec-authoring
mistake regardless of what the graph shape turns out to be.
Trait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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