pub struct AgentNetworkEdge {
pub source: String,
pub target: String,
pub source_agent: String,
pub target_agent: String,
pub similarity: f32,
}Expand description
An edge between memories from two different agents
Fields§
§source: String§target: String§source_agent: String§target_agent: String§similarity: f32Trait Implementations§
Source§impl Debug for AgentNetworkEdge
impl Debug for AgentNetworkEdge
Auto Trait Implementations§
impl Freeze for AgentNetworkEdge
impl RefUnwindSafe for AgentNetworkEdge
impl Send for AgentNetworkEdge
impl Sync for AgentNetworkEdge
impl Unpin for AgentNetworkEdge
impl UnsafeUnpin for AgentNetworkEdge
impl UnwindSafe for AgentNetworkEdge
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