Trait Foldable
diesel::types
pub trait Foldable { type Sum; type Avg; }
Marker trait for types which can be folded for a sum.
type Sum
type Avg
impl<T> Foldable for Nullable<T> where T: Foldable + NotNull,
impl Foldable for SmallInt
impl Foldable for Integer
impl Foldable for BigInt
impl Foldable for Float
impl Foldable for Double
impl Foldable for Numeric
impl Foldable for Interval