pub struct GraphExport {
pub agent_id: String,
pub format: String,
pub data: String,
pub node_count: u64,
pub edge_count: u64,
}Expand description
Agent graph export from GET /v1/agents/{id}/graph/export.
Fields§
§agent_id: StringAgent whose graph was exported.
format: StringExport format: json, graphml, or csv.
data: StringSerialised graph in the requested format.
node_count: u64Total number of memory nodes in the export.
edge_count: u64Total number of edges in the export.
Trait Implementations§
Source§impl Clone for GraphExport
impl Clone for GraphExport
Source§fn clone(&self) -> GraphExport
fn clone(&self) -> GraphExport
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 GraphExport
impl Debug for GraphExport
Source§impl<'de> Deserialize<'de> for GraphExport
impl<'de> Deserialize<'de> for GraphExport
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 GraphExport
impl RefUnwindSafe for GraphExport
impl Send for GraphExport
impl Sync for GraphExport
impl Unpin for GraphExport
impl UnsafeUnpin for GraphExport
impl UnwindSafe for GraphExport
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