Trait diesel::prelude::DecoratableTarget
source · pub trait DecoratableTarget<P> {
type FilterOutput;
// Required method
fn filter_target(self, predicate: P) -> Self::FilterOutput;
}
Expand description
Interface to add information to conflict targets. Designed to be open for further additions to conflict targets like constraints
Required Associated Types§
sourcetype FilterOutput
type FilterOutput
Output type of filter_target operation
Required Methods§
sourcefn filter_target(self, predicate: P) -> Self::FilterOutput
fn filter_target(self, predicate: P) -> Self::FilterOutput
equivalent to filter of FilterDsl but aimed at conflict targets