pub enum SearchScope {
All,
Movies,
Shows,
Episodes,
Music,
}Expand description
What a search covers: everything, or one kind of thing. Music is one scope, with artists, albums and tracks as groups inside it.
Variants§
Implementations§
Source§impl SearchScope
impl SearchScope
Sourcepub fn kinds(self) -> &'static [SearchKind]
pub fn kinds(self) -> &'static [SearchKind]
The groups a search in this scope returns, in the order they are shown: episodes last.
Trait Implementations§
Source§impl Clone for SearchScope
impl Clone for SearchScope
impl Copy for SearchScope
Source§impl Debug for SearchScope
impl Debug for SearchScope
Source§impl<'de> Deserialize<'de> for SearchScope
impl<'de> Deserialize<'de> for SearchScope
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 SearchScope
Source§impl Hash for SearchScope
impl Hash for SearchScope
Source§impl PartialEq for SearchScope
impl PartialEq for SearchScope
Source§impl Serialize for SearchScope
impl Serialize for SearchScope
impl StructuralPartialEq for SearchScope
Auto Trait Implementations§
impl Freeze for SearchScope
impl RefUnwindSafe for SearchScope
impl Send for SearchScope
impl Sync for SearchScope
impl Unpin for SearchScope
impl UnsafeUnpin for SearchScope
impl UnwindSafe for SearchScope
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