pub struct SortExpr {
pub column: String,
pub ascending: bool,
}Expand description
A single ORDER BY sort key.
Fields§
§column: StringThe column / expression being sorted.
ascending: booltrue for ascending (ASC), false for descending (DESC).
Trait Implementations§
impl StructuralPartialEq for SortExpr
Auto Trait Implementations§
impl Freeze for SortExpr
impl RefUnwindSafe for SortExpr
impl Send for SortExpr
impl Sync for SortExpr
impl Unpin for SortExpr
impl UnsafeUnpin for SortExpr
impl UnwindSafe for SortExpr
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