Trait diesel::sql_types::Foldable [−][src]
Represents SQL types which can be used with SUM
and AVG
Associated Types
Implementors
impl<T> Foldable for Nullable<T> where
T: Foldable + NotNull, type Sum = T::Sum; type Avg = T::Avg;impl Foldable for SmallInt type Sum = Nullable<BigInt>; type Avg = Nullable<Numeric>;
impl Foldable for Integer type Sum = Nullable<BigInt>; type Avg = Nullable<Numeric>;
impl Foldable for BigInt type Sum = Nullable<Numeric>; type Avg = Nullable<Numeric>;
impl Foldable for Float type Sum = Nullable<Float>; type Avg = Nullable<Double>;
impl Foldable for Double type Sum = Nullable<Double>; type Avg = Nullable<Double>;
impl Foldable for Numeric type Sum = Nullable<Numeric>; type Avg = Nullable<Numeric>;
impl Foldable for Interval type Sum = Nullable<Interval>; type Avg = Nullable<Interval>;