#[non_exhaustive]#[repr(i32)]pub enum OrderSortBy {
CreatedAt = 0,
Id = 1,
}Expand description
Field used to sort an OrderQuery result page.
This enum is request-only: response order is represented by the returned
OrderPage::orders sequence.
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 OrderSortBy
impl Clone for OrderSortBy
Source§fn clone(&self) -> OrderSortBy
fn clone(&self) -> OrderSortBy
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 OrderSortBy
Source§impl Debug for OrderSortBy
impl Debug for OrderSortBy
impl Eq for OrderSortBy
Source§impl PartialEq for OrderSortBy
impl PartialEq for OrderSortBy
Source§impl Serialize for OrderSortBy
impl Serialize for OrderSortBy
impl StructuralPartialEq for OrderSortBy
Auto Trait Implementations§
impl Freeze for OrderSortBy
impl RefUnwindSafe for OrderSortBy
impl Send for OrderSortBy
impl Sync for OrderSortBy
impl Unpin for OrderSortBy
impl UnsafeUnpin for OrderSortBy
impl UnwindSafe for OrderSortBy
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