pub enum Write {
Append,
Update,
Delete,
}Expand description
What an Insert’s source means for the table.
Variants§
Append
The rows are added to the table.
Update
The rows are the whole table afterwards, and one more column after the table’s says which of them the statement changed, so it can count them and return them.
Delete
The rows are the table as it was, and the column after the table’s says which of them the statement deletes. The table keeps the rest.
Trait Implementations§
impl Copy for Write
impl Eq for Write
impl StructuralPartialEq for Write
Auto Trait Implementations§
impl Freeze for Write
impl RefUnwindSafe for Write
impl Send for Write
impl Sync for Write
impl Unpin for Write
impl UnsafeUnpin for Write
impl UnwindSafe for Write
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