pub struct SemanticNode {
pub id: String,
pub kind: String,
pub label: Option<String>,
pub digest: Option<String>,
}Expand description
A semantic graph node.
Fields§
§id: StringStable node identifier.
kind: StringNode kind, such as input, model-layer, attention, or decision.
label: Option<String>Optional display label.
digest: Option<String>Optional digest or fingerprint bound to the node.
Implementations§
Source§impl SemanticNode
impl SemanticNode
Trait Implementations§
Source§impl Clone for SemanticNode
impl Clone for SemanticNode
Source§fn clone(&self) -> SemanticNode
fn clone(&self) -> SemanticNode
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 SemanticNode
impl Debug for SemanticNode
Source§impl Default for SemanticNode
impl Default for SemanticNode
Source§fn default() -> SemanticNode
fn default() -> SemanticNode
Returns the “default value” for a type. Read more
impl Eq for SemanticNode
Source§impl PartialEq for SemanticNode
impl PartialEq for SemanticNode
Source§fn eq(&self, other: &SemanticNode) -> bool
fn eq(&self, other: &SemanticNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SemanticNode
Auto Trait Implementations§
impl Freeze for SemanticNode
impl RefUnwindSafe for SemanticNode
impl Send for SemanticNode
impl Sync for SemanticNode
impl Unpin for SemanticNode
impl UnsafeUnpin for SemanticNode
impl UnwindSafe for SemanticNode
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