Trait deuterium::Orderable
[−]
[src]
pub trait Orderable: Clone { fn get_order_by_mut(&mut self) -> &mut Vec<OrderBy>; fn set_order_by(&mut self, order_by: Vec<OrderBy>); fn order_by(&self, field: &UntypedExpression) -> Self { ... } fn order_by_fields(&self, fields: &[&UntypedExpression]) -> Self { ... } fn reverse_by(&self, field: &UntypedExpression) -> Self { ... } fn reverse_by_fields(&self, fields: &[&UntypedExpression]) -> Self { ... } fn order_append(&self, field: &UntypedExpression) -> Self { ... } fn order_prepend(&self, field: &UntypedExpression) -> Self { ... } fn reverse_append(&self, field: &UntypedExpression) -> Self { ... } fn reverse_prepend(&self, field: &UntypedExpression) -> Self { ... } fn unorder(&self) -> Self { ... } }
Required Methods
fn get_order_by_mut(&mut self) -> &mut Vec<OrderBy>
fn set_order_by(&mut self, order_by: Vec<OrderBy>)
Provided Methods
fn order_by(&self, field: &UntypedExpression) -> Self
fn order_by_fields(&self, fields: &[&UntypedExpression]) -> Self
fn reverse_by(&self, field: &UntypedExpression) -> Self
fn reverse_by_fields(&self, fields: &[&UntypedExpression]) -> Self
fn order_append(&self, field: &UntypedExpression) -> Self
fn order_prepend(&self, field: &UntypedExpression) -> Self
fn reverse_append(&self, field: &UntypedExpression) -> Self
fn reverse_prepend(&self, field: &UntypedExpression) -> Self
fn unorder(&self) -> Self
Implementors
impl<T: Clone, L: Clone, M: Clone> Orderable for SelectQuery<T, L, M>