pub struct RowMutation<'a> {
pub row_signature: u64,
pub data: Option<&'a [u8]>,
}Expand description
A single row mutation: upsert if data is Some, delete if None.
Fields§
§row_signature: u64Stable row identifier (hash of the row’s key columns).
data: Option<&'a [u8]>Serialized row data for upsert, or None for delete.
Trait Implementations§
Source§impl<'a> Clone for RowMutation<'a>
impl<'a> Clone for RowMutation<'a>
Source§fn clone(&self) -> RowMutation<'a>
fn clone(&self) -> RowMutation<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for RowMutation<'a>
impl<'a> RefUnwindSafe for RowMutation<'a>
impl<'a> Send for RowMutation<'a>
impl<'a> Sync for RowMutation<'a>
impl<'a> Unpin for RowMutation<'a>
impl<'a> UnsafeUnpin for RowMutation<'a>
impl<'a> UnwindSafe for RowMutation<'a>
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