pub enum SortingType {
DateAdded,
Relevance,
Random,
Views,
Favorites,
Toplist,
}
Variants§
Trait Implementations§
Source§impl Default for SortingType
impl Default for SortingType
Source§fn default() -> SortingType
fn default() -> SortingType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SortingType
impl<'de> Deserialize<'de> for SortingType
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
Auto Trait Implementations§
impl Freeze for SortingType
impl RefUnwindSafe for SortingType
impl Send for SortingType
impl Sync for SortingType
impl Unpin for SortingType
impl UnwindSafe for SortingType
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