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

pub struct IncompleteDoUpdate<Stmt, Target> { /* fields omitted */ }

A partially constructed ON CONFLICT DO UPDATE clause.


impl<T, U, Op, Ret, Target> IncompleteDoUpdate<InsertStatement<T, U, Op, Ret>, Target>[src]

pub fn set<Changes>(
    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]

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> RefUnwindSafe for IncompleteDoUpdate<Stmt, Target> where
    Stmt: RefUnwindSafe,
    Target: RefUnwindSafe

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

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.