pub enum SortOrder {
Ascending,
Descending,
}Expand description
Orderings for sorted results.
Variants§
Ascending
Values should be sorted with “higher” values after “lower” values.
Descending
Values should be sorted with “lower” values after “higher” values.
Implementations§
Trait Implementations§
source§impl ParamValue<'static> for SortOrder
impl ParamValue<'static> for SortOrder
source§impl PartialEq<SortOrder> for SortOrder
impl PartialEq<SortOrder> for SortOrder
impl Copy for SortOrder
impl Eq for SortOrder
impl StructuralEq for SortOrder
impl StructuralPartialEq for SortOrder
Auto Trait Implementations§
impl RefUnwindSafe for SortOrder
impl Send for SortOrder
impl Sync for SortOrder
impl Unpin for SortOrder
impl UnwindSafe for SortOrder
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.