pub struct MergeOutcome {
pub memory_id: String,
pub content_updated: bool,
pub merge_count: i32,
}Expand description
Outcome of merging a duplicate memory into an existing one.
Fields§
§memory_id: StringThe ID of the existing memory that was merged into
content_updated: boolWhether the content was updated (new content was significantly longer)
merge_count: i32Total number of times this memory has been merged into
Trait Implementations§
Source§impl Clone for MergeOutcome
impl Clone for MergeOutcome
Source§fn clone(&self) -> MergeOutcome
fn clone(&self) -> MergeOutcome
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 moreAuto Trait Implementations§
impl Freeze for MergeOutcome
impl RefUnwindSafe for MergeOutcome
impl Send for MergeOutcome
impl Sync for MergeOutcome
impl Unpin for MergeOutcome
impl UnsafeUnpin for MergeOutcome
impl UnwindSafe for MergeOutcome
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