pub struct ParsedInsert {
pub table: String,
pub columns: Vec<String>,
pub values: Vec<Vec<Value>>,
pub returning: Option<Vec<String>>,
pub on_conflict: Option<OnConflictClause>,
}Expand description
Parsed INSERT statement.
on_conflict is None for a plain INSERT; Some(...) for
INSERT ... ON CONFLICT. v0.6.0 Tier 1 #3.
Fields§
§table: String§columns: Vec<String>§values: Vec<Vec<Value>>§returning: Option<Vec<String>>§on_conflict: Option<OnConflictClause>ON CONFLICT clause, if present. See OnConflictClause.
Trait Implementations§
Source§impl Clone for ParsedInsert
impl Clone for ParsedInsert
Source§fn clone(&self) -> ParsedInsert
fn clone(&self) -> ParsedInsert
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParsedInsert
impl RefUnwindSafe for ParsedInsert
impl Send for ParsedInsert
impl Sync for ParsedInsert
impl Unpin for ParsedInsert
impl UnsafeUnpin for ParsedInsert
impl UnwindSafe for ParsedInsert
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