[][src]Trait diesel::sql_types::Foldable

pub trait Foldable {
    type Sum;
    type Avg;
}

Represents SQL types which can be used with SUM and AVG

Associated Types

type Sum

The SQL type of sum(this_type)

type Avg

The SQL type of avg(this_type)

Loading content...

Implementors

impl Foldable for Unsigned<BigInt>[src]

impl Foldable for Unsigned<Integer>[src]

impl Foldable for Unsigned<SmallInt>[src]

impl Foldable for BigInt[src]

impl Foldable for Double[src]

impl Foldable for Float[src]

impl Foldable for Integer[src]

impl Foldable for Interval[src]

impl Foldable for Numeric[src]

impl Foldable for SmallInt[src]

impl<T> Foldable for Nullable<T> where
    T: Foldable + NotNull
[src]

type Sum = T::Sum

type Avg = T::Avg

Loading content...