pub enum NormalizedOp {
Add {
table: Box<str>,
row: WireRow,
},
Remove {
table: Box<str>,
row: WireRow,
},
Edit {
table: Box<str>,
old: WireRow,
new: WireRow,
},
}Expand description
One normalized change. Self-identifies by table name — the client routes each row
to a base table directly, with no tree path and no slot map (§3). Rows are positional
(aligned to that table’s column order). OwnedValue is serializable because the crate
enables rindle’s serde feature, so the op serializes for the wire / oracle directly.
Variants§
Add
A row entered this query’s footprint.
Remove
A row left this query’s footprint (the row carries ≥ its PK; a full row is fine).
Edit
A footprinted row’s value changed (PK stable; old and new share a PK).
Trait Implementations§
Source§impl Clone for NormalizedOp
impl Clone for NormalizedOp
Source§fn clone(&self) -> NormalizedOp
fn clone(&self) -> NormalizedOp
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 NormalizedOp
impl Debug for NormalizedOp
Source§impl<'de> Deserialize<'de> for NormalizedOp
impl<'de> Deserialize<'de> for NormalizedOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NormalizedOp
impl RefUnwindSafe for NormalizedOp
impl Send for NormalizedOp
impl Sync for NormalizedOp
impl Unpin for NormalizedOp
impl UnsafeUnpin for NormalizedOp
impl UnwindSafe for NormalizedOp
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