[][src]Trait diesel::query_dsl::methods::DistinctDsl

pub trait DistinctDsl {
    type Output;
    fn distinct(self) -> Self::Output;
}

The distinct method

This trait should not be relied on directly by most apps. Its behavior is provided by QueryDsl. However, you may need a where clause on this trait to call distinct from generic code.

Associated Types

type Output

The type returned by .distinct

Loading content...

Required methods

fn distinct(self) -> Self::Output

See the trait documentation.

Loading content...

Implementors

impl<T> DistinctDsl for T where
    T: Table,
    T::Query: DistinctDsl
[src]

type Output = <T::Query as DistinctDsl>::Output

Loading content...