pub struct TransactionCreateBuilder<'transaction, M> { /* private fields */ }Expand description
Typed insert builder bound to a Transaction.
Implementations§
Source§impl<M: Model> TransactionCreateBuilder<'_, M>
impl<M: Model> TransactionCreateBuilder<'_, M>
pub fn set<T, V>(self, field: ModelField<M, T>, value: V) -> Selfwhere
V: QueryValue<T>,
pub fn execute(self) -> Result<M, OrmError>
Auto Trait Implementations§
impl<'transaction, M> !RefUnwindSafe for TransactionCreateBuilder<'transaction, M>
impl<'transaction, M> !Send for TransactionCreateBuilder<'transaction, M>
impl<'transaction, M> !Sync for TransactionCreateBuilder<'transaction, M>
impl<'transaction, M> !UnwindSafe for TransactionCreateBuilder<'transaction, M>
impl<'transaction, M> Freeze for TransactionCreateBuilder<'transaction, M>where
InsertQuery<M>: Freeze,
impl<'transaction, M> Unpin for TransactionCreateBuilder<'transaction, M>where
InsertQuery<M>: Unpin,
impl<'transaction, M> UnsafeUnpin for TransactionCreateBuilder<'transaction, M>where
InsertQuery<M>: UnsafeUnpin,
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