pub struct InsertQuery {
pub into: TableRef,
pub values: Vec<ColumnValue>,
}Fields§
§into: TableRef§values: Vec<ColumnValue>Implementations§
Source§impl InsertQuery
impl InsertQuery
pub fn for_entity<E: Entity, I: Insertable<E>>(insertable: &I) -> Self
Trait Implementations§
Source§impl Clone for InsertQuery
impl Clone for InsertQuery
Source§fn clone(&self) -> InsertQuery
fn clone(&self) -> InsertQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InsertQuery
impl Debug for InsertQuery
Source§impl PartialEq for InsertQuery
impl PartialEq for InsertQuery
Source§fn eq(&self, other: &InsertQuery) -> bool
fn eq(&self, other: &InsertQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InsertQuery
Auto Trait Implementations§
impl Freeze for InsertQuery
impl RefUnwindSafe for InsertQuery
impl Send for InsertQuery
impl Sync for InsertQuery
impl Unpin for InsertQuery
impl UnsafeUnpin for InsertQuery
impl UnwindSafe for InsertQuery
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