#[non_exhaustive]#[repr(i32)]pub enum OrderSortDirection {
Ascending = 0,
Descending = 1,
}Expand description
Direction used to sort an OrderQuery result page.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for OrderSortDirection
impl Clone for OrderSortDirection
Source§fn clone(&self) -> OrderSortDirection
fn clone(&self) -> OrderSortDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OrderSortDirection
Source§impl Debug for OrderSortDirection
impl Debug for OrderSortDirection
impl Eq for OrderSortDirection
Source§impl PartialEq for OrderSortDirection
impl PartialEq for OrderSortDirection
Source§impl Serialize for OrderSortDirection
impl Serialize for OrderSortDirection
impl StructuralPartialEq for OrderSortDirection
Auto Trait Implementations§
impl Freeze for OrderSortDirection
impl RefUnwindSafe for OrderSortDirection
impl Send for OrderSortDirection
impl Sync for OrderSortDirection
impl Unpin for OrderSortDirection
impl UnsafeUnpin for OrderSortDirection
impl UnwindSafe for OrderSortDirection
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