#[non_exhaustive]pub struct Merged {
pub record: Object,
pub conflicts: Vec<String>,
}Expand description
What comes of putting together what a person changed and what someone else kept meanwhile.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.record: ObjectThe record with both sets of changes. On a field both changed, it has this person’s.
conflicts: Vec<String>The fields both changed, each to something else.
Trait Implementations§
impl StructuralPartialEq for Merged
Auto Trait Implementations§
impl Freeze for Merged
impl RefUnwindSafe for Merged
impl Send for Merged
impl Sync for Merged
impl Unpin for Merged
impl UnsafeUnpin for Merged
impl UnwindSafe for Merged
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