pub enum SortOption {
Show 18 variants
CreatedAt,
UpdatedAt,
Created,
Favorites,
Heat,
LabsPublicationDate,
Magic,
Name,
Order,
Popularity,
PublicationDate,
Random,
Relevance,
ReportCount,
ReportScore,
Shuffle,
Trust,
Updated,
}Variants§
CreatedAt
UpdatedAt
Created
Favorites
Heat
LabsPublicationDate
Magic
Name
Order
Popularity
PublicationDate
Random
Relevance
ReportCount
ReportScore
Shuffle
Trust
Updated
Trait Implementations§
Source§impl Clone for SortOption
impl Clone for SortOption
impl Copy for SortOption
Source§impl Debug for SortOption
impl Debug for SortOption
Source§impl Default for SortOption
impl Default for SortOption
Source§fn default() -> SortOption
fn default() -> SortOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SortOption
impl<'de> Deserialize<'de> for SortOption
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 Display for SortOption
impl Display for SortOption
impl Eq for SortOption
Source§impl Hash for SortOption
impl Hash for SortOption
Source§impl Ord for SortOption
impl Ord for SortOption
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SortOption
impl PartialEq for SortOption
Source§impl PartialOrd for SortOption
impl PartialOrd for SortOption
Source§impl Serialize for SortOption
impl Serialize for SortOption
impl StructuralPartialEq for SortOption
Auto Trait Implementations§
impl Freeze for SortOption
impl RefUnwindSafe for SortOption
impl Send for SortOption
impl Sync for SortOption
impl Unpin for SortOption
impl UnsafeUnpin for SortOption
impl UnwindSafe for SortOption
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