[−][src]Struct diesel::pg::upsert::IncompleteDoUpdate
A partially constructed ON CONFLICT DO UPDATE
clause.
Methods
impl<T, U, Op, Ret, Target> IncompleteDoUpdate<InsertStatement<T, U, Op, Ret>, Target>
[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>,
[src]
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: Clone, Target: Clone> Clone for IncompleteDoUpdate<Stmt, Target>
[src]
fn clone(&self) -> IncompleteDoUpdate<Stmt, Target>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Stmt: Copy, Target: Copy> Copy for IncompleteDoUpdate<Stmt, Target>
[src]
impl<Stmt: Debug, Target: Debug> Debug for IncompleteDoUpdate<Stmt, Target>
[src]
Auto Trait Implementations
impl<Stmt, Target> Send for IncompleteDoUpdate<Stmt, Target> where
Stmt: Send,
Target: Send,
Stmt: Send,
Target: Send,
impl<Stmt, Target> Sync for IncompleteDoUpdate<Stmt, Target> where
Stmt: Sync,
Target: Sync,
Stmt: Sync,
Target: Sync,
impl<Stmt, Target> Unpin for IncompleteDoUpdate<Stmt, Target> where
Stmt: Unpin,
Target: Unpin,
Stmt: Unpin,
Target: Unpin,
impl<Stmt, Target> UnwindSafe for IncompleteDoUpdate<Stmt, Target> where
Stmt: UnwindSafe,
Target: UnwindSafe,
Stmt: UnwindSafe,
Target: UnwindSafe,
impl<Stmt, Target> RefUnwindSafe for IncompleteDoUpdate<Stmt, Target> where
Stmt: RefUnwindSafe,
Target: RefUnwindSafe,
Stmt: RefUnwindSafe,
Target: RefUnwindSafe,
Blanket Implementations
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized,
[src]
Self: AsExpression<T> + Sized,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,