pub enum SortOrderTrue {
Asc,
Desc,
}
Expand description
This is the sort order for pagination. Defaults to ‘DESC’.
Variants§
Trait Implementations§
Source§impl Clone for SortOrderTrue
impl Clone for SortOrderTrue
Source§fn clone(&self) -> SortOrderTrue
fn clone(&self) -> SortOrderTrue
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SortOrderTrue
impl Debug for SortOrderTrue
Source§impl Default for SortOrderTrue
impl Default for SortOrderTrue
Source§fn default() -> SortOrderTrue
fn default() -> SortOrderTrue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SortOrderTrue
impl<'de> Deserialize<'de> for SortOrderTrue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SortOrderTrue
impl Hash for SortOrderTrue
Source§impl Ord for SortOrderTrue
impl Ord for SortOrderTrue
Source§fn cmp(&self, other: &SortOrderTrue) -> Ordering
fn cmp(&self, other: &SortOrderTrue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SortOrderTrue
impl PartialEq for SortOrderTrue
Source§impl PartialOrd for SortOrderTrue
impl PartialOrd for SortOrderTrue
Source§impl Serialize for SortOrderTrue
impl Serialize for SortOrderTrue
impl Copy for SortOrderTrue
impl Eq for SortOrderTrue
impl StructuralPartialEq for SortOrderTrue
Auto Trait Implementations§
impl Freeze for SortOrderTrue
impl RefUnwindSafe for SortOrderTrue
impl Send for SortOrderTrue
impl Sync for SortOrderTrue
impl Unpin for SortOrderTrue
impl UnwindSafe for SortOrderTrue
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