pub struct NodeOutput {
pub data: Value,
pub next: Option<String>,
pub branch: Option<String>,
}Expand description
Result of node execution.
Fields§
§data: ValueOutput data.
next: Option<String>Next node ID (explicit routing).
branch: Option<String>Branch name (conditional routing).
Implementations§
Source§impl NodeOutput
impl NodeOutput
Sourcepub const fn continue_with(data: Value) -> Self
pub const fn continue_with(data: Value) -> Self
Create output that continues to next node.
Sourcepub fn goto(data: Value, node_id: impl Into<String>) -> Self
pub fn goto(data: Value, node_id: impl Into<String>) -> Self
Create output that goes to specific node.
Auto Trait Implementations§
impl Freeze for NodeOutput
impl RefUnwindSafe for NodeOutput
impl Send for NodeOutput
impl Sync for NodeOutput
impl Unpin for NodeOutput
impl UnwindSafe for NodeOutput
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