[][src]Trait diesel::query_builder::DecoratableTarget

pub trait DecoratableTarget<P> {
    type FilterOutput;
    fn filter_target(self, predicate: P) -> Self::FilterOutput;
}

Interface to add information to conflict targets. Designed to be open for further additions to conflict targets like constraints

Associated Types

type FilterOutput

Output type of filter_target operation

Loading content...

Required methods

fn filter_target(self, predicate: P) -> Self::FilterOutput

equivalent to filter of FilterDsl but aimed at conflict targets

Loading content...

Implementors

impl<Stmt, T, P> DecoratableTarget<P> for IncompleteOnConflict<Stmt, T> where
    P: Expression,
    P::SqlType: BoolOrNullableBool,
    T: DecoratableTarget<P>, 
[src]

type FilterOutput = IncompleteOnConflict<Stmt, <T as DecoratableTarget<P>>::FilterOutput>

impl<T, P> DecoratableTarget<P> for T where
    P: Expression,
    P::SqlType: BoolOrNullableBool,
    T: UndecoratedConflictTarget, 
[src]

type FilterOutput = DecoratedConflictTarget<T, WhereClause<P>>

Loading content...