pub struct OrderBy {
pub field: String,
pub direction: SortDirection,
}Expand description
The single sort key of a query. Single, not a list, because the TS QueryBuilder.orderBy
it mirrors keeps one key and overwrites it on every call.
Fields§
§field: String§direction: SortDirectionTrait 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