pub struct OrderBy {
pub expr: Expr,
pub desc: bool,
pub nulls_first: Option<bool>,
}Fields§
§expr: Expr§desc: boolfalse = ASC (default), true = DESC.
nulls_first: Option<bool>v7.24 (mailrs round-16 A) — explicit NULLS FIRST /
NULLS LAST. None = PG default (NULLS LAST for ASC,
NULLS FIRST for DESC); the engine resolves the effective
value via nulls_first.unwrap_or(desc).
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 UnsafeUnpin 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