Struct diesel::expression::dsl::Sum
[−]
[src]
pub struct Sum<T> { /* fields omitted */ }
Trait Implementations
impl<T: Debug> Debug for Sum<T>[src]
impl<T: Clone> Clone for Sum<T>[src]
fn clone(&self) -> Sum<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 Sum<T>[src]
impl<ST, T> Expression for Sum<T> where
ST: Foldable,
T: Expression<SqlType = ST>, [src]
ST: Foldable,
T: Expression<SqlType = ST>,
type SqlType = <<T as Expression>::SqlType as Foldable>::Sum
impl<T, DB> QueryFragment<DB> for Sum<T> where
T: Expression + QueryFragment<DB>,
DB: Backend + HasSqlType<T::SqlType>, [src]
T: Expression + QueryFragment<DB>,
DB: Backend + HasSqlType<T::SqlType>,
fn walk_ast(&self, out: AstPass<DB>) -> QueryResult<()>[src]
fn to_sql(&self, out: &mut DB::QueryBuilder) -> QueryResult<()>[src]
fn collect_binds(
&self,
out: &mut DB::BindCollector,
metadata_lookup: &DB::MetadataLookup
) -> QueryResult<()>[src]
&self,
out: &mut DB::BindCollector,
metadata_lookup: &DB::MetadataLookup
) -> QueryResult<()>
fn is_safe_to_cache_prepared(&self) -> QueryResult<bool>[src]
impl<T> QueryId for Sum<T> where
T: QueryId, [src]
T: QueryId,
type QueryId = Sum<T::QueryId>
fn has_static_query_id() -> bool[src]
fn query_id() -> Option<TypeId>[src]
impl<T, QS> SelectableExpression<QS> for Sum<T> where
Sum<T>: AppearsOnTable<QS>,
T: SelectableExpression<QS>, [src]
Sum<T>: AppearsOnTable<QS>,
T: SelectableExpression<QS>,
impl<T, QS> AppearsOnTable<QS> for Sum<T> where
Sum<T>: Expression,
T: AppearsOnTable<QS>, [src]
Sum<T>: Expression,
T: AppearsOnTable<QS>,