pub struct OrderByExpr {
pub expr: Expr,
pub order: Option<Direction>,
}Fields§
§expr: ExprThe expression
order: Option<Direction>Ascending or descending
Implementations§
Source§impl OrderByExpr
impl OrderByExpr
Trait Implementations§
Source§impl Clone for OrderByExpr
impl Clone for OrderByExpr
Source§fn clone(&self) -> OrderByExpr
fn clone(&self) -> OrderByExpr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrderByExpr
impl Debug for OrderByExpr
Source§impl From<OrderByExpr> for OrderBy
impl From<OrderByExpr> for OrderBy
Source§fn from(value: OrderByExpr) -> Self
fn from(value: OrderByExpr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OrderByExpr
impl PartialEq for OrderByExpr
impl StructuralPartialEq for OrderByExpr
Auto Trait Implementations§
impl Freeze for OrderByExpr
impl RefUnwindSafe for OrderByExpr
impl Send for OrderByExpr
impl Sync for OrderByExpr
impl Unpin for OrderByExpr
impl UnwindSafe for OrderByExpr
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