Trait diesel::query_dsl::methods::DistinctDsl   
source · pub trait DistinctDsl {
    type Output;
    // Required method
    fn distinct(self) -> Distinct<Self>;
}Expand description
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.