pub struct NodeDescribe {
pub type: NodeTypeStr,
pub status: NodeStatus,
pub value: Option<DescribeValue>,
pub deps: Vec<String>,
pub operator_kind: Option<String>,
pub meta: Option<Value>,
}Expand description
Per-node descriptor.
Fields§
§type: NodeTypeStr"state" / "derived" / "dynamic" / "producer".
Producer-vs-state inference: a state node with no fn-id but
has_fired_once=true may stem from a producer pattern; the
rust-side classifier just reports kind directly. (Producer
inference is a binding-side concern — see canonical §3.6.1.)
status: NodeStatusLifecycle status (canonical Appendix B enum).
value: Option<DescribeValue>Current cache value (F sub-slice, 2026-05-10). None when
the cache is sentinel (NO_HANDLE). Otherwise:
DescribeValue::Handle(HandleId)— raw u64 (fromGraph::describe).DescribeValue::Rendered(serde_json::Value)— binding- rendered (fromGraph::describe_with_debug).
Serialization is uniform: the inner u64 or JSON value appears directly in the output (no enum tag).
deps: Vec<String>Dep names in declaration order. Unnamed deps surface as
_anon_<NodeId> to keep the output lossless without
elevating Core-only nodes into the namespace.
operator_kind: Option<String>Operator discriminant (e.g. "map", "filter", "combine").
None for non-operator nodes. Slice V5: surfaces the
OperatorOp variant name so consumers can distinguish
operator kinds (was previously just type: "operator").
meta: Option<Value>Free-form metadata per canonical Appendix B (e.g. { "description": "...", "type": "integer", "range": [1, 10] }).
Always None in this slice — the metadata-storage primitive
on Core hasn’t shipped yet. Reserved as Option<serde_json::Value>
so the JSON shape stays forward-compatible (omitted via
skip_serializing_if when None to keep current outputs slim).
Trait Implementations§
Source§impl Clone for NodeDescribe
impl Clone for NodeDescribe
Source§fn clone(&self) -> NodeDescribe
fn clone(&self) -> NodeDescribe
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more