pub struct MemoryConflict {
pub scope: ScopeAddress,
pub key: String,
pub memory_ids: Vec<String>,
pub overlap: ValidityWindow,
}Expand description
A flagged conflict: two live records that share a key, overlap in validity, and carry contradictory content. A review item — the design’s rule is that detection is evidence and resolution is governance, so nothing here (or anywhere in the runtime) resolves the pair: Zep and Mem0 resolve contradictions inside the ingestion pipeline with an LLM, which is precisely the silent-mutation pattern the learning rule exists to forbid.
Fields§
§scope: ScopeAddressThe scope the conflicted records live at.
key: StringThe key they share.
memory_ids: Vec<String>The two records’ content addresses, sorted.
overlap: ValidityWindowThe interval both records claim to be true over — the overlap of their validity windows.
Trait Implementations§
Source§impl Clone for MemoryConflict
impl Clone for MemoryConflict
Source§fn clone(&self) -> MemoryConflict
fn clone(&self) -> MemoryConflict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemoryConflict
impl Debug for MemoryConflict
Source§impl<'de> Deserialize<'de> for MemoryConflict
impl<'de> Deserialize<'de> for MemoryConflict
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
Source§impl PartialEq for MemoryConflict
impl PartialEq for MemoryConflict
Source§impl Serialize for MemoryConflict
impl Serialize for MemoryConflict
impl StructuralPartialEq for MemoryConflict
Auto Trait Implementations§
impl Freeze for MemoryConflict
impl RefUnwindSafe for MemoryConflict
impl Send for MemoryConflict
impl Sync for MemoryConflict
impl Unpin for MemoryConflict
impl UnsafeUnpin for MemoryConflict
impl UnwindSafe for MemoryConflict
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