pub enum Change {
Delete(Value<'static>),
Insert {
rowid: Value<'static>,
values: Vec<Value<'static>>,
},
Update {
old_rowid: Value<'static>,
new_rowid: Value<'static>,
values: Vec<Value<'static>>,
},
}Expand description
One row a write asks a module to make.
Variants§
Delete(Value<'static>)
Remove the row with this rowid or primary key.
Insert
Add a row.
Fields
Update
Replace a row.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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