pub enum GraphNodeBody {
Action {
verb: Option<String>,
action_name: String,
mutating: bool,
act_chain: Vec<String>,
assertion_count: u32,
},
Assert {
observe: String,
assertions: Vec<AssertionSummary>,
},
Call {
callee_flow_id: String,
callee_ir_hash: String,
input_keys: Vec<String>,
},
Human {
mode: String,
prompt_head: String,
timeout_ms: u64,
},
If {
cond: String,
has_else: bool,
},
Foreach {
items: String,
as: String,
},
Let {
binding_keys: Vec<String>,
},
}Expand description
Kind-specific node payloads (discriminant = step kind, A.4-aligned).
Variants§
Action
ActionStepIR (08 §3.1): verb/action, effect badge, act chain.
Fields
Assert
AssertStepIR: observation source + assertion summaries.
Fields
§
assertions: Vec<AssertionSummary>Per-assertion summary rows: assertId + verify chain chips.
Call
CallStepIR — the collapse node (08 §3.3): callee identity only;
the callee graph loads lazily by calleeIrHash.
Fields
Human
HumanStepIR (08 §3.5): the pause-for-a-person node.
Fields
If
IfStepIR: condition summary; then/else children reference this
node via parentId + region.
Fields
Foreach
ForeachStepIR — the aggregate node (08 §3.2): iterations are
folded onto this single node, never fanned out.
Let
LetStepIR: binding key names (small node).
Trait Implementations§
Source§impl Clone for GraphNodeBody
impl Clone for GraphNodeBody
Source§fn clone(&self) -> GraphNodeBody
fn clone(&self) -> GraphNodeBody
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 moreSource§impl Debug for GraphNodeBody
impl Debug for GraphNodeBody
Source§impl<'de> Deserialize<'de> for GraphNodeBody
impl<'de> Deserialize<'de> for GraphNodeBody
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
Source§impl JsonSchema for GraphNodeBody
impl JsonSchema for GraphNodeBody
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for GraphNodeBody
impl PartialEq for GraphNodeBody
Source§impl Serialize for GraphNodeBody
impl Serialize for GraphNodeBody
impl StructuralPartialEq for GraphNodeBody
Auto Trait Implementations§
impl Freeze for GraphNodeBody
impl RefUnwindSafe for GraphNodeBody
impl Send for GraphNodeBody
impl Sync for GraphNodeBody
impl Unpin for GraphNodeBody
impl UnsafeUnpin for GraphNodeBody
impl UnwindSafe for GraphNodeBody
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