Struct diesel::expression::helper_types::Desc
[−]
[src]
pub struct Desc<T> { /* fields omitted */ }
Methods
impl<T> Desc<T>
[src]
Trait Implementations
impl<T: Debug> Debug for Desc<T>
[src]
impl<T: Clone> Clone for Desc<T>
[src]
fn clone(&self) -> Desc<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 Desc<T>
[src]
impl<T> QueryId for Desc<T> where
T: QueryId,
[src]
T: QueryId,
type QueryId = Desc<T::QueryId>
fn has_static_query_id() -> bool
[src]
fn query_id() -> Option<TypeId>
[src]
impl<T> Expression for Desc<T> where
T: Expression,
[src]
T: Expression,
impl<T, DB> QueryFragment<DB> for Desc<T> where
DB: Backend,
T: QueryFragment<DB>,
[src]
DB: Backend,
T: QueryFragment<DB>,
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, QS> SelectableExpression<QS> for Desc<T> where
T: SelectableExpression<QS>,
[src]
T: SelectableExpression<QS>,
impl<T> NonAggregate for Desc<T> where
T: NonAggregate,
[src]
T: NonAggregate,
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