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

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

Trait Implementations

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

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

fn clone(&self) -> Avg<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 Avg<T>
[src]

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

Formats the value using the given formatter.

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

type SqlType = T::SqlType::Avg

impl<T, DB> QueryFragment<DB> for Avg<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 Avg<T> where ST: Foldable, T: Expression<SqlType=ST>
[src]