Trait diesel::types::Foldable
[−]
[src]
pub trait Foldable {
type Sum;
type Avg;
}
Associated Types
Implementors
impl<T> Foldable for Nullable<T> where
T: Foldable + NotNull,
T::Sum: NotNull,
T::Avg: NotNull, type Sum = Nullable<T::Sum>; type Avg = Nullable<T::Avg>;impl Foldable for SmallInt type Sum = BigInt; type Avg = Numeric;impl Foldable for Integer type Sum = BigInt; type Avg = Numeric;impl Foldable for BigInt type Sum = Numeric; type Avg = Numeric;impl Foldable for Float type Sum = Float; type Avg = Double;impl Foldable for Double type Sum = Double; type Avg = Double;impl Foldable for Numeric type Sum = Numeric; type Avg = Numeric;impl Foldable for Interval type Sum = Interval; type Avg = Interval;