pub struct AgentNetworkNode {
pub id: String,
pub agent_id: String,
pub content: String,
pub importance: f32,
pub tags: Vec<String>,
pub memory_type: String,
pub created_at: u64,
}Expand description
A memory node in the cross-agent network graph
Fields§
§id: String§agent_id: String§content: String§importance: f32§memory_type: String§created_at: u64Unix milliseconds.
Trait Implementations§
Source§impl Clone for AgentNetworkNode
impl Clone for AgentNetworkNode
Source§fn clone(&self) -> AgentNetworkNode
fn clone(&self) -> AgentNetworkNode
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 AgentNetworkNode
impl Debug for AgentNetworkNode
Source§impl<'de> Deserialize<'de> for AgentNetworkNode
impl<'de> Deserialize<'de> for AgentNetworkNode
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 AgentNetworkNode
impl RefUnwindSafe for AgentNetworkNode
impl Send for AgentNetworkNode
impl Sync for AgentNetworkNode
impl Unpin for AgentNetworkNode
impl UnsafeUnpin for AgentNetworkNode
impl UnwindSafe for AgentNetworkNode
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