pub struct MergeResult {
pub events: Vec<Event>,
pub new_local: usize,
pub new_remote: usize,
pub duplicates_skipped: usize,
}Expand description
The result of merging two event sets.
Contains the merged, deduplicated, deterministically sorted events.
Fields§
§events: Vec<Event>Merged events, sorted by (wall_ts_us, agent, event_hash).
new_local: usizeNumber of unique events present on remote but not in local.
new_remote: usizeNumber of unique events present on local but not in remote.
duplicates_skipped: usizeNumber of duplicate input events skipped during deduplication.
Trait Implementations§
Source§impl Clone for MergeResult
impl Clone for MergeResult
Source§fn clone(&self) -> MergeResult
fn clone(&self) -> MergeResult
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 MergeResult
impl RefUnwindSafe for MergeResult
impl Send for MergeResult
impl Sync for MergeResult
impl Unpin for MergeResult
impl UnsafeUnpin for MergeResult
impl UnwindSafe for MergeResult
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