pub struct GraphOutcome {
pub state: State,
pub goto_parent: Option<Vec<String>>,
}Expand description
What a completed run produced, and what it asks of its caller.
Fields§
§state: StateThe final state.
goto_parent: Option<Vec<String>>Nodes of the parent graph a node asked to run next, if any.
Set by NodeOutput::with_goto_parent.
A graph that is not a subgraph has no parent, so this is ignored.
Trait Implementations§
Source§impl Clone for GraphOutcome
impl Clone for GraphOutcome
Source§fn clone(&self) -> GraphOutcome
fn clone(&self) -> GraphOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GraphOutcome
impl RefUnwindSafe for GraphOutcome
impl Send for GraphOutcome
impl Sync for GraphOutcome
impl Unpin for GraphOutcome
impl UnsafeUnpin for GraphOutcome
impl UnwindSafe for GraphOutcome
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