pub struct OrderBy {
pub expr: ExprRef,
pub order: Order,
}Expand description
ORDER BY clause specification.
Defines how query results should be sorted.
§Examples
In ORDER BY e.timestamp DESC, this would be represented as:
expr: expression fore.timestamporder:Order::Desc
Fields§
§expr: ExprRefExpression to sort by
order: OrderSort direction (ascending or descending)
Trait Implementations§
impl Copy for OrderBy
Auto Trait Implementations§
impl Freeze for OrderBy
impl RefUnwindSafe for OrderBy
impl Send for OrderBy
impl Sync for OrderBy
impl Unpin for OrderBy
impl UnwindSafe for OrderBy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more