pub enum TransactionOp {
Insert {
table: &'static str,
values: Vec<(ColumnDef, Value)>,
},
Delete {
table: &'static str,
behaviour: DeleteBehavior,
filter: Option<Filter>,
},
Update {
table: &'static str,
patch: Vec<(ColumnDef, Value)>,
filter: Option<Filter>,
},
}Expand description
An operation within a transaction.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TransactionOp
impl RefUnwindSafe for TransactionOp
impl Send for TransactionOp
impl Sync for TransactionOp
impl Unpin for TransactionOp
impl UnsafeUnpin for TransactionOp
impl UnwindSafe for TransactionOp
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