diesel::sql_types

Trait Foldable

Source
pub trait Foldable {
    type Sum;
    type Avg;
}
Expand description

Represents SQL types which can be used with SUM and AVG

Required Associated Types§

Source

type Sum

The SQL type of sum(this_type)

Source

type Avg

The SQL type of avg(this_type)

Implementors§