pub struct RowDelta {
pub inserted: usize,
pub updated: usize,
pub removed: usize,
pub moved: usize,
pub unchanged: usize,
}Expand description
What a keyed row update changed.
Each new row is classified once: inserted when its key is new, updated
when its cells differ (a moved-and-edited row counts as updated), moved
when the cells are identical but the index changed, unchanged otherwise;
removed counts previous keys missing from the new set. An all-zero delta
(Self::is_noop) means the backend was not touched at all.
Fields§
§inserted: usize§updated: usize§removed: usize§moved: usize§unchanged: usizeImplementations§
Trait Implementations§
impl Copy for RowDelta
impl Eq for RowDelta
impl StructuralPartialEq for RowDelta
Auto Trait Implementations§
impl Forget for RowDelta
impl Freeze for RowDelta
impl Move for RowDelta
impl RefUnwindSafe for RowDelta
impl Send for RowDelta
impl Sync for RowDelta
impl Unpin for RowDelta
impl UnsafeUnpin for RowDelta
impl UnwindSafe for RowDelta
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