pub struct SortSpec {
pub field: String,
pub direction: SortDirection,
pub nulls: NullsPosition,
}Expand description
A single sort key.
Fields§
§field: StringDotted field path to sort by.
direction: SortDirectionAscending or descending.
nulls: NullsPositionNull placement.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SortSpec
impl RefUnwindSafe for SortSpec
impl Send for SortSpec
impl Sync for SortSpec
impl Unpin for SortSpec
impl UnsafeUnpin for SortSpec
impl UnwindSafe for SortSpec
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