pub struct SortKey<Scope> { /* private fields */ }Expand description
A sort key whose scope requirement has already been discharged, so a
runtime-length collection of them can be built and passed around — the
?sort=email,-placed_on case. select::sort_key is to .order_by_all
what predicate is to .filter_all.
Trait Implementations§
Auto Trait Implementations§
impl<Scope> Freeze for SortKey<Scope>
impl<Scope> RefUnwindSafe for SortKey<Scope>
impl<Scope> Send for SortKey<Scope>
impl<Scope> Sync for SortKey<Scope>
impl<Scope> Unpin for SortKey<Scope>
impl<Scope> UnsafeUnpin for SortKey<Scope>
impl<Scope> UnwindSafe for SortKey<Scope>
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