pub struct Compared {
pub missing: Vec<Vec<u8>>,
pub extra: Vec<Vec<u8>>,
pub first: Option<Divergence>,
}Expand description
Rows the new side lacks, rows it invents, and the first ordering difference. Membership and order are reported separately because they fail for different reasons: a missing row is a writer nobody updated, a reordering is score drift.
Fields§
§missing: Vec<Vec<u8>>Rows the old path returns and the new one does not.
extra: Vec<Vec<u8>>Rows the new path returns and the old one does not.
first: Option<Divergence>The first position where the two orders differ, if any.
Auto Trait Implementations§
impl Freeze for Compared
impl RefUnwindSafe for Compared
impl Send for Compared
impl Sync for Compared
impl Unpin for Compared
impl UnsafeUnpin for Compared
impl UnwindSafe for Compared
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