pub struct AgentGraphSnapshot {
pub agent_id: String,
pub exported_at: DateTime<Utc>,
pub schema_version: Cow<'static, str>,
pub nodes: Vec<AinlMemoryNode>,
pub edges: Vec<SnapshotEdge>,
}Expand description
Full export of one agent’s subgraph (nodes + interconnecting edges).
Fields§
§agent_id: String§exported_at: DateTime<Utc>§schema_version: Cow<'static, str>§nodes: Vec<AinlMemoryNode>§edges: Vec<SnapshotEdge>Trait Implementations§
Source§impl Clone for AgentGraphSnapshot
impl Clone for AgentGraphSnapshot
Source§fn clone(&self) -> AgentGraphSnapshot
fn clone(&self) -> AgentGraphSnapshot
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 AgentGraphSnapshot
impl Debug for AgentGraphSnapshot
Source§impl<'de> Deserialize<'de> for AgentGraphSnapshot
impl<'de> Deserialize<'de> for AgentGraphSnapshot
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 AgentGraphSnapshot
impl RefUnwindSafe for AgentGraphSnapshot
impl Send for AgentGraphSnapshot
impl Sync for AgentGraphSnapshot
impl Unpin for AgentGraphSnapshot
impl UnsafeUnpin for AgentGraphSnapshot
impl UnwindSafe for AgentGraphSnapshot
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