pub struct Node {
pub id: NodeId,
pub kind: NodeKind,
pub label: Option<String>,
pub support_level: Option<String>,
pub source_refs: Vec<String>,
pub description: Option<String>,
pub fields: NodeFields,
pub evidence_notes: Vec<String>,
pub pos: Option<Point>,
}Expand description
One exploration node.
Fields§
§id: NodeIdUnique node id.
kind: NodeKindNode type.
label: Option<String>Display label, from title: only. Consumers fall back to id.
support_level: Option<String>explicit | inferred when present.
source_refs: Vec<String>Free-form provenance refs (§1, Fig. 1, …).
description: Option<String>Prose description.
fields: NodeFieldsTyped per-kind body.
evidence_notes: Vec<String>Free-text evidence entries (the non-C## part of evidence:).
pos: Option<Point>Center position assigned by layout. Absent when layout has not run.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
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
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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