pub struct InsertPlan {
pub table: Ident,
pub columns: Vec<Ident>,
pub rows: Vec<Vec<Value>>,
pub returning: Vec<Ident>,
}Expand description
Multi-row insert.
Fields§
§table: IdentTarget table.
columns: Vec<Ident>Inserted columns (auto columns are omitted by the caller).
rows: Vec<Vec<Value>>One Vec per row, each with columns.len() values.
returning: Vec<Ident>Columns to return (typically the generated primary key).
Trait Implementations§
Source§impl Clone for InsertPlan
impl Clone for InsertPlan
Source§fn clone(&self) -> InsertPlan
fn clone(&self) -> InsertPlan
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 InsertPlan
impl Debug for InsertPlan
Source§impl PartialEq for InsertPlan
impl PartialEq for InsertPlan
impl StructuralPartialEq for InsertPlan
Auto Trait Implementations§
impl Freeze for InsertPlan
impl RefUnwindSafe for InsertPlan
impl Send for InsertPlan
impl Sync for InsertPlan
impl Unpin for InsertPlan
impl UnsafeUnpin for InsertPlan
impl UnwindSafe for InsertPlan
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