pub enum Operation<V> {
Insert(BTreeMap<String, ColumnValue<V>>),
Update(BTreeMap<String, ColumnValue<V>>),
Delete,
}Expand description
One row’s insert, update or delete. A delete cannot set columns.
Variants§
Insert(BTreeMap<String, ColumnValue<V>>)
Start the next incarnation with these columns.
Update(BTreeMap<String, ColumnValue<V>>)
Set these columns in the existing incarnation.
Delete
End the existing incarnation.
Trait Implementations§
impl<V: Eq> Eq for Operation<V>
impl<V> StructuralPartialEq for Operation<V>
Auto Trait Implementations§
impl<V> Freeze for Operation<V>
impl<V> RefUnwindSafe for Operation<V>where
V: RefUnwindSafe,
impl<V> Send for Operation<V>where
V: Send,
impl<V> Sync for Operation<V>where
V: Sync,
impl<V> Unpin for Operation<V>
impl<V> UnsafeUnpin for Operation<V>
impl<V> UnwindSafe for Operation<V>where
V: RefUnwindSafe,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more