pub enum InsertClause {
DefaultValues,
InsertInto,
OnConflict,
Overriding,
Select,
Values,
Returning,
With,
InsertOr,
ReplaceInto,
}Expand description
All available clauses to be used in Insert::raw_before and Insert::raw_after methods on Insert builder
Variants§
DefaultValues
InsertInto
OnConflict
Overriding
Select
Values
Returning
Available on crate features
postgresql and sqlite only.With
Available on crate features
postgresql and sqlite only.InsertOr
Available on crate feature
sqlite only.ReplaceInto
Available on crate feature
sqlite only.Trait Implementations§
Source§impl Clone for InsertClause
impl Clone for InsertClause
Source§fn clone(&self) -> InsertClause
fn clone(&self) -> InsertClause
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 moreSource§impl PartialEq for InsertClause
impl PartialEq for InsertClause
impl StructuralPartialEq for InsertClause
Auto Trait Implementations§
impl Freeze for InsertClause
impl RefUnwindSafe for InsertClause
impl Send for InsertClause
impl Sync for InsertClause
impl Unpin for InsertClause
impl UnwindSafe for InsertClause
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