pub struct DefaultMergeRule;Expand description
Default merge rule implementing last-write-wins semantics.
Comparison priority:
- Column version (higher wins)
- DB version (higher wins)
- Node ID (higher wins as tiebreaker)
Trait Implementations§
Source§impl Clone for DefaultMergeRule
impl Clone for DefaultMergeRule
Source§fn clone(&self) -> DefaultMergeRule
fn clone(&self) -> DefaultMergeRule
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 DefaultMergeRule
impl Debug for DefaultMergeRule
Source§impl Default for DefaultMergeRule
impl Default for DefaultMergeRule
Source§fn default() -> DefaultMergeRule
fn default() -> DefaultMergeRule
Returns the “default value” for a type. Read more
Source§impl<K, C, V> MergeRule<K, C, V> for DefaultMergeRule
impl<K, C, V> MergeRule<K, C, V> for DefaultMergeRule
impl Copy for DefaultMergeRule
Auto Trait Implementations§
impl Freeze for DefaultMergeRule
impl RefUnwindSafe for DefaultMergeRule
impl Send for DefaultMergeRule
impl Sync for DefaultMergeRule
impl Unpin for DefaultMergeRule
impl UnwindSafe for DefaultMergeRule
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