pub struct Node {
pub key: NodeKey,
pub kind: NodeKind,
pub fields: Map<String, Value>,
}Expand description
Node is one node of the graph: its key, its kind, and the fields that
it carries, ready for the JSON output.
Fields§
§key: NodeKeyThe key that identifies the node.
kind: NodeKindThe node’s kind.
fields: Map<String, Value>The fields other than kind and the key, in output order.
Trait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Forget for Node
impl Freeze for Node
impl Move 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