Skip to main content

NodeDescribe

Struct NodeDescribe 

Source
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: NodeStatus

Lifecycle 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:

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

Source§

fn clone(&self) -> NodeDescribe

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NodeDescribe

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Serialize for NodeDescribe

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.