Trait diesel::types::Foldable
[−]
[src]
pub trait Foldable { type Sum; type Avg; }
Marker trait for types which can be folded for a sum.
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>;