pub enum SortingType {
Popularity,
Score,
Alphabetic,
ReleaseDate,
}Expand description
Match type
Variants§
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 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<'_derivative_strum> From<&'_derivative_strum SortingType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum SortingType> for &'static str
Source§fn from(x: &'_derivative_strum SortingType) -> &'static str
fn from(x: &'_derivative_strum SortingType) -> &'static str
Converts to this type from the input type.
Source§impl From<SortingType> for &'static str
impl From<SortingType> for &'static str
Source§fn from(x: SortingType) -> &'static str
fn from(x: SortingType) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for SortingType
impl PartialEq for SortingType
Source§impl Serialize for SortingType
impl Serialize for SortingType
impl StructuralPartialEq 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