pub enum RowChangeKind {
Inserted,
Updated(Vec<&'static str>),
Deleted,
Rewritten,
}Expand description
What happened to a RowChange’s row over the transaction. Same-row changes coalesce
the way the autosave fold does: an insert absorbs later updates, a delete absorbs
everything before it, updates union their columns, and a wholesale write supersedes a
column list.
Variants§
Inserted
Updated(Vec<&'static str>)
The changed columns’ names, in first-touch order; transient fields never appear.
Deleted
The key only; the removed row’s values are not retained.
Rewritten
Every column was written: a row-level replacement, or a row of a store rewritten
wholesale (Store::update), which resyncs the resident rows.
Trait Implementations§
Source§impl Clone for RowChangeKind
impl Clone for RowChangeKind
Source§impl Debug for RowChangeKind
impl Debug for RowChangeKind
impl Eq for RowChangeKind
Source§impl PartialEq for RowChangeKind
impl PartialEq for RowChangeKind
impl StructuralPartialEq for RowChangeKind
Auto Trait Implementations§
impl Forget for RowChangeKind
impl Freeze for RowChangeKind
impl Move for RowChangeKind
impl RefUnwindSafe for RowChangeKind
impl Send for RowChangeKind
impl Sync for RowChangeKind
impl Unpin for RowChangeKind
impl UnsafeUnpin for RowChangeKind
impl UnwindSafe for RowChangeKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more