pub struct Node {
pub id: String,
pub kind: String,
pub data: Option<Value>,
pub created_at: i64,
pub updated_at: i64,
}Expand description
A typed node in the memory graph.
Fields§
§id: StringUnique identifier for this node.
kind: StringSemantic type label (e.g. "session", "thought", "tool").
data: Option<Value>Arbitrary JSON payload attached to the node.
created_at: i64Unix-millisecond timestamp when the node was first created.
updated_at: i64Unix-millisecond timestamp of the most recent update.
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
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