pub enum CollectedChange {
Add(OwnedRow),
Remove(OwnedRow),
Edit {
row: OwnedRow,
old: OwnedRow,
},
}Expand description
A change recorded by a Collector — the spike’s analogue of Catch’s
pushes. Lets a test assert the exact change sequence a source fans out.
Equality compares rows cell-by-cell via compare_values (null == null) —
OwnedValue deliberately has no derived PartialEq (it would invite the
wrong comparator), so we spell the row equality out.
Variants§
Trait Implementations§
Source§impl Clone for CollectedChange
impl Clone for CollectedChange
Source§fn clone(&self) -> CollectedChange
fn clone(&self) -> CollectedChange
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 CollectedChange
impl Debug for CollectedChange
Source§impl PartialEq for CollectedChange
impl PartialEq for CollectedChange
Auto Trait Implementations§
impl Freeze for CollectedChange
impl RefUnwindSafe for CollectedChange
impl Send for CollectedChange
impl Sync for CollectedChange
impl Unpin for CollectedChange
impl UnsafeUnpin for CollectedChange
impl UnwindSafe for CollectedChange
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