Struct Insert
pub struct Insert {
pub target: InsertTarget,
pub source: Query,
pub returning: Option<Returning>,
}Fields§
§target: InsertTargetWhere to insert the values
source: QuerySource of values to insert
returning: Option<Returning>Optionally return data from the insertion
Implementations§
Trait Implementations§
§impl<'a, T> IntoExprTarget<'a, T> for &'a Insertwhere
T: Resolve,
impl<'a, T> IntoExprTarget<'a, T> for &'a Insertwhere
T: Resolve,
fn into_expr_target(self, schema: &'a T) -> ExprTarget<'a>
impl StructuralPartialEq for Insert
Auto Trait Implementations§
impl Freeze for Insert
impl RefUnwindSafe for Insert
impl Send for Insert
impl Sync for Insert
impl Unpin for Insert
impl UnwindSafe for Insert
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