pub struct MemoryGraph {
pub root_id: String,
pub depth: u32,
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
}Expand description
Graph traversal result from GET /v1/memories/{id}/graph.
Fields§
§root_id: StringThe root memory ID from which traversal started.
depth: u32Maximum traversal depth used.
nodes: Vec<GraphNode>All memory nodes reachable within the requested depth.
edges: Vec<GraphEdge>All edges connecting the returned nodes.
Trait Implementations§
Source§impl Clone for MemoryGraph
impl Clone for MemoryGraph
Source§fn clone(&self) -> MemoryGraph
fn clone(&self) -> MemoryGraph
Returns a duplicate of the value. Read more
1.0.0 · 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 MemoryGraph
impl Debug for MemoryGraph
Source§impl<'de> Deserialize<'de> for MemoryGraph
impl<'de> Deserialize<'de> for MemoryGraph
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 MemoryGraph
impl RefUnwindSafe for MemoryGraph
impl Send for MemoryGraph
impl Sync for MemoryGraph
impl Unpin for MemoryGraph
impl UnsafeUnpin for MemoryGraph
impl UnwindSafe for MemoryGraph
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