Trait diesel::expression::MixedAggregates[][src]

pub trait MixedAggregates<Other> {
    type Output;

Can two IsAggregate types appear in the same expression?

You should never implement this trait. It will eventually become a trait alias.

is_aggregate::Yes and is_aggregate::No can only appear with themselves or is_aggregate::Never. is_aggregate::Never can appear with anything.

Associated Types

type Output[src]

What is the resulting IsAggregate type?

Loading content...


impl MixedAggregates<Never> for No[src]

type Output = No

impl MixedAggregates<Never> for Yes[src]

type Output = Yes

impl MixedAggregates<No> for No[src]

type Output = No

impl MixedAggregates<Yes> for Yes[src]

type Output = Yes

impl<T> MixedAggregates<T> for Never[src]

type Output = T

Loading content...