Struct sqlparser::ast::OrderByExpr
source · Expand description
An ORDER BY
expression
Fields§
§expr: Expr
§asc: Option<bool>
Optional ASC
or DESC
nulls_first: Option<bool>
Optional NULLS FIRST
or NULLS LAST
Trait Implementations§
source§impl Clone for OrderByExpr
impl Clone for OrderByExpr
source§fn clone(&self) -> OrderByExpr
fn clone(&self) -> OrderByExpr
Returns a copy 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 Display for OrderByExpr
impl Display for OrderByExpr
source§impl Hash for OrderByExpr
impl Hash for OrderByExpr
source§impl Ord for OrderByExpr
impl Ord for OrderByExpr
source§fn cmp(&self, other: &OrderByExpr) -> Ordering
fn cmp(&self, other: &OrderByExpr) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<OrderByExpr> for OrderByExpr
impl PartialEq<OrderByExpr> for OrderByExpr
source§fn eq(&self, other: &OrderByExpr) -> bool
fn eq(&self, other: &OrderByExpr) -> bool
source§impl PartialOrd<OrderByExpr> for OrderByExpr
impl PartialOrd<OrderByExpr> for OrderByExpr
source§fn partial_cmp(&self, other: &OrderByExpr) -> Option<Ordering>
fn partial_cmp(&self, other: &OrderByExpr) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more