pub struct ConflictVersion {
pub agent_id: AgentId,
pub content: String,
pub confidence: f32,
pub timestamp: Timestamp,
}Expand description
One agent’s version of a memory that may be in conflict.
Fields§
§agent_id: AgentIdThe agent that produced this version.
content: StringThe memory content for this version.
confidence: f32Confidence score assigned by the authoring agent.
timestamp: TimestampWhen this version was created.
Trait Implementations§
Source§impl Clone for ConflictVersion
impl Clone for ConflictVersion
Source§fn clone(&self) -> ConflictVersion
fn clone(&self) -> ConflictVersion
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 ConflictVersion
impl Debug for ConflictVersion
Source§impl<'de> Deserialize<'de> for ConflictVersion
impl<'de> Deserialize<'de> for ConflictVersion
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 ConflictVersion
impl RefUnwindSafe for ConflictVersion
impl Send for ConflictVersion
impl Sync for ConflictVersion
impl Unpin for ConflictVersion
impl UnsafeUnpin for ConflictVersion
impl UnwindSafe for ConflictVersion
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