[][src]Struct diesel::pg::upsert::IncompleteDoUpdate

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]

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]

See do_update for usage examples.

Trait Implementations

impl<Stmt: Clone, Target: Clone> Clone for IncompleteDoUpdate<Stmt, Target>[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

impl<Stmt, Target> Sync for IncompleteDoUpdate<Stmt, Target> where
    Stmt: Sync,
    Target: Sync

impl<Stmt, Target> Unpin for IncompleteDoUpdate<Stmt, Target> where
    Stmt: Unpin,
    Target: Unpin

impl<Stmt, Target> UnwindSafe for IncompleteDoUpdate<Stmt, Target> where
    Stmt: UnwindSafe,
    Target: UnwindSafe

impl<Stmt, Target> RefUnwindSafe for IncompleteDoUpdate<Stmt, Target> where
    Stmt: RefUnwindSafe,
    Target: RefUnwindSafe

Blanket Implementations

impl<T> IntoSql for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]