Struct diesel::expression::helper_types::Desc
[−]
[src]
pub struct Desc<T> { /* fields omitted */ }
Methods
impl<T> Desc<T>
[src]
fn new(expr: T) -> Self
Trait Implementations
impl<T: Debug> Debug for Desc<T>
[src]
impl<T: Clone> Clone for Desc<T>
[src]
fn clone(&self) -> Desc<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: Copy> Copy for Desc<T>
[src]
impl<T> QueryId for Desc<T> where T: QueryId
[src]
impl<T> Expression for Desc<T> where T: Expression
[src]
impl<T, DB> QueryFragment<DB> for Desc<T> where DB: Backend, T: QueryFragment<DB>
[src]
fn to_sql(&self, out: &mut DB::QueryBuilder) -> BuildQueryResult
fn collect_binds(&self, out: &mut DB::BindCollector) -> QueryResult<()>
fn is_safe_to_cache_prepared(&self) -> bool
impl<T, QS> SelectableExpression<QS> for Desc<T> where T: SelectableExpression<QS>
[src]
impl<T> NonAggregate for Desc<T> where T: NonAggregate
[src]
impl<T> SortExpressionMethods for Desc<T>
[src]
fn nulls_first(self) -> NullsFirst<Self>
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>
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