Struct diesel::expression::helper_types::Desc
[−]
[src]
pub struct Desc<Expr> { /* fields omitted */ }
Methods
impl<Expr> Desc<Expr>
[src]
Trait Implementations
impl<Expr: Debug> Debug for Desc<Expr>
[src]
impl<Expr: Clone> Clone for Desc<Expr>
[src]
fn clone(&self) -> Desc<Expr>
[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<Expr: Copy> Copy for Desc<Expr>
[src]
impl<Expr> QueryId for Desc<Expr> where
Expr: QueryId,
[src]
Expr: QueryId,
type QueryId = Desc<Expr::QueryId>
fn has_static_query_id() -> bool
[src]
fn query_id() -> Option<TypeId>
[src]
impl<Expr, QS> SelectableExpression<QS> for Desc<Expr> where
Desc<Expr>: AppearsOnTable<QS>,
Expr: SelectableExpression<QS>,
[src]
Desc<Expr>: AppearsOnTable<QS>,
Expr: SelectableExpression<QS>,
impl<Expr, QS> AppearsOnTable<QS> for Desc<Expr> where
Desc<Expr>: Expression,
Expr: AppearsOnTable<QS>,
[src]
Desc<Expr>: Expression,
Expr: AppearsOnTable<QS>,
impl<Expr> Expression for Desc<Expr> where
Expr: Expression,
[src]
Expr: Expression,
impl<Expr> NonAggregate for Desc<Expr> where
Expr: NonAggregate,
[src]
Expr: NonAggregate,
impl<Expr, DB> QueryFragment<DB> for Desc<Expr> where
Expr: QueryFragment<DB>,
DB: Backend,
[src]
Expr: QueryFragment<DB>,
DB: Backend,
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> SortExpressionMethods for Desc<T>
[src]
fn nulls_first(self) -> NullsFirst<Self>
[src]
Specify that nulls should come before other values in this ordering. Normally, nulls come last when sorting in ascending order and first when sorting in descending order. Read more
fn nulls_last(self) -> NullsLast<Self>
[src]
Specify that nulls should come after other values in this ordering. Normally, nulls come last when sorting in ascending order and first when sorting in descending order. Read more