pub struct OrderBy {
pub expr: Expr,
pub direction: OrderDirection,
pub nulls: Option<NullOrdering>,
}Expand description
An ORDER BY clause entry.
Fields§
§expr: ExprThe expression to order by.
direction: OrderDirectionThe direction (ASC or DESC).
nulls: Option<NullOrdering>Null ordering (optional).
Trait Implementations§
impl StructuralPartialEq 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