Struct diesel::expression::helper_types::Asc
[−]
[src]
pub struct Asc<T> { /* fields omitted */ }
Methods
impl<T> Asc<T>
[src]
fn new(expr: T) -> Self
Trait Implementations
impl<T: Debug> Debug for Asc<T>
[src]
impl<T: Clone> Clone for Asc<T>
[src]
fn clone(&self) -> Asc<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 Asc<T>
[src]
impl<T> QueryId for Asc<T> where T: QueryId
[src]
impl<T> Expression for Asc<T> where T: Expression
[src]
impl<T, DB> QueryFragment<DB> for Asc<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 Asc<T> where T: SelectableExpression<QS>
[src]
impl<T> NonAggregate for Asc<T> where T: NonAggregate
[src]
impl<T> SortExpressionMethods for Asc<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