pub enum SearchBy<S> {
Name(S),
IMDbID(S),
Zap2itID(S),
Slug(S),
}Expand description
Parameter used to search for series with
Client.search.
Variants§
Name(S)
Search by (partial) name.
IMDbID(S)
Search by IMDb ID.
Zap2itID(S)
Search by Zap2it ID.
Slug(S)
Search by slug.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for SearchBy<S>where
S: Freeze,
impl<S> RefUnwindSafe for SearchBy<S>where
S: RefUnwindSafe,
impl<S> Send for SearchBy<S>where
S: Send,
impl<S> Sync for SearchBy<S>where
S: Sync,
impl<S> Unpin for SearchBy<S>where
S: Unpin,
impl<S> UnwindSafe for SearchBy<S>where
S: UnwindSafe,
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