Struct diesel::expression::dsl::Sum [] [src]

pub struct Sum<T> {
    // some fields omitted
}

Trait Implementations

impl<T: Copy> Copy for Sum<T>
[src]

impl<T: Clone> Clone for Sum<T>
[src]

fn clone(&self) -> Sum<T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Sum<T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<ST, T> Expression for Sum<T> where ST: Foldable, T: Expression<SqlType=ST>
[src]

type SqlType = T::SqlType::Sum

impl<T, DB> QueryFragment<DB> for Sum<T> where T: Expression + QueryFragment<DB>, DB: Backend + HasSqlType<T::SqlType>
[src]

fn to_sql(&self, out: &mut DB::QueryBuilder) -> BuildQueryResult

impl<ST, T, QS> SelectableExpression<QS> for Sum<T> where ST: Foldable, T: Expression<SqlType=ST>
[src]