pub enum SearchKind {
Shows,
Movies,
People,
Artists,
Albums,
Tracks,
Episodes,
}Expand description
One group of search results. People, artists, albums and tracks have no scope of their own; a search for one kind (“See all”) names it.
Ordered as the groups are shown.
Variants§
Trait Implementations§
Source§impl Clone for SearchKind
impl Clone for SearchKind
impl Copy for SearchKind
Source§impl Debug for SearchKind
impl Debug for SearchKind
Source§impl<'de> Deserialize<'de> for SearchKind
impl<'de> Deserialize<'de> for SearchKind
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
impl Eq for SearchKind
Source§impl Hash for SearchKind
impl Hash for SearchKind
Source§impl Ord for SearchKind
impl Ord for SearchKind
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 SearchKind
impl PartialEq for SearchKind
Source§impl PartialOrd for SearchKind
impl PartialOrd for SearchKind
Source§impl Serialize for SearchKind
impl Serialize for SearchKind
impl StructuralPartialEq for SearchKind
Auto Trait Implementations§
impl Freeze for SearchKind
impl RefUnwindSafe for SearchKind
impl Send for SearchKind
impl Sync for SearchKind
impl Unpin for SearchKind
impl UnsafeUnpin for SearchKind
impl UnwindSafe for SearchKind
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