Struct diesel::pg::upsert::IncompleteDoUpdate [−][src]
pub struct IncompleteDoUpdate<Stmt, Target> { /* fields omitted */ }
A partially constructed ON CONFLICT DO UPDATE
clause.
Methods
impl<T, U, Op, Ret, Target> IncompleteDoUpdate<InsertStatement<T, U, Op, Ret>, Target>
[src]
impl<T, U, Op, Ret, Target> IncompleteDoUpdate<InsertStatement<T, U, Op, Ret>, Target>
pub fn set<Changes>(
self,
changes: Changes
) -> InsertStatement<T, OnConflictValues<U, Target, DoUpdate<Changes::Changeset>>, Op, Ret> where
T: QuerySource,
Changes: AsChangeset<Target = T>,
[src]
pub fn set<Changes>(
self,
changes: Changes
) -> InsertStatement<T, OnConflictValues<U, Target, DoUpdate<Changes::Changeset>>, Op, Ret> where
T: QuerySource,
Changes: AsChangeset<Target = T>,
See do_update
for usage examples.
Trait Implementations
impl<Stmt: Debug, Target: Debug> Debug for IncompleteDoUpdate<Stmt, Target>
[src]
impl<Stmt: Debug, Target: Debug> Debug for IncompleteDoUpdate<Stmt, Target>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Stmt: Clone, Target: Clone> Clone for IncompleteDoUpdate<Stmt, Target>
[src]
impl<Stmt: Clone, Target: Clone> Clone for IncompleteDoUpdate<Stmt, Target>
fn clone(&self) -> IncompleteDoUpdate<Stmt, Target>
[src]
fn clone(&self) -> IncompleteDoUpdate<Stmt, Target>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<Stmt: Copy, Target: Copy> Copy for IncompleteDoUpdate<Stmt, Target>
[src]
impl<Stmt: Copy, Target: Copy> Copy for IncompleteDoUpdate<Stmt, Target>
Auto Trait Implementations
impl<Stmt, Target> Send for IncompleteDoUpdate<Stmt, Target> where
Stmt: Send,
Target: Send,
impl<Stmt, Target> Send for IncompleteDoUpdate<Stmt, Target> where
Stmt: Send,
Target: Send,
impl<Stmt, Target> Sync for IncompleteDoUpdate<Stmt, Target> where
Stmt: Sync,
Target: Sync,
impl<Stmt, Target> Sync for IncompleteDoUpdate<Stmt, Target> where
Stmt: Sync,
Target: Sync,