Struct diesel::expression::dsl::Avg
[−]
[src]
pub struct Avg<T> { /* fields omitted */ }
Trait Implementations
impl<T: Debug> Debug for Avg<T>
[src]
impl<T: Clone> Clone for Avg<T>
[src]
fn clone(&self) -> Avg<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Copy> Copy for Avg<T>
[src]
impl<ST, T> Expression for Avg<T> where
ST: Foldable,
T: Expression<SqlType = ST>,
[src]
ST: Foldable,
T: Expression<SqlType = ST>,
type SqlType = <<T as Expression>::SqlType as Foldable>::Avg
impl<T, DB> QueryFragment<DB> for Avg<T> where
T: Expression + QueryFragment<DB>,
DB: Backend + HasSqlType<T::SqlType>,
[src]
T: Expression + QueryFragment<DB>,
DB: Backend + HasSqlType<T::SqlType>,
fn to_sql(&self, out: &mut DB::QueryBuilder) -> BuildQueryResult
[src]
fn collect_binds(&self, out: &mut DB::BindCollector) -> QueryResult<()>
[src]
fn is_safe_to_cache_prepared(&self) -> bool
[src]
impl<T> QueryId for Avg<T> where
T: QueryId,
[src]
T: QueryId,
type QueryId = Avg<T::QueryId>
fn has_static_query_id() -> bool
[src]
fn query_id() -> Option<TypeId>
[src]
impl<ST, T, QS> SelectableExpression<QS> for Avg<T> where
ST: Foldable,
T: Expression<SqlType = ST>,
[src]
ST: Foldable,
T: Expression<SqlType = ST>,