pub enum SortingType {
DateAdded,
Relevance,
Random,
Views,
Favorites,
Toplist,
}Expand description
The property to sort by.
Check the variants for more information.
Variants§
DateAdded
Sort by date added
Relevance
Sort by how much the wallpaper respects the filters
Random
Sort randomly
Views
Sort by views count
Favorites
Sort by ⭐ count
Toplist
Sort by popularity within a certain time span
Trait Implementations§
Source§impl Clone for SortingType
impl Clone for SortingType
Source§fn clone(&self) -> SortingType
fn clone(&self) -> SortingType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SortingType
impl Debug for SortingType
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
Source§impl Serialize for SortingType
impl Serialize for SortingType
impl Copy for SortingType
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