Enum youtube_dl::SearchType
source · pub enum SearchType {
Youtube,
Yahoo,
Google,
SoundCloud,
Custom(String),
}
Expand description
The search options currently supported by youtube-dl, and a custom option to allow specifying custom options, in case this library is outdated.
Variants§
Youtube
Search on youtube.com
Yahoo
Search with yahoo.com’s video search
Search with Google’s video search
SoundCloud
Search on SoundCloud
Custom(String)
Allows to specify a custom search type, for forwards compatibility purposes.
Trait Implementations§
source§impl Clone for SearchType
impl Clone for SearchType
source§fn clone(&self) -> SearchType
fn clone(&self) -> SearchType
Returns a copy 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 SearchType
impl Debug for SearchType
Auto Trait Implementations§
impl Freeze for SearchType
impl RefUnwindSafe for SearchType
impl Send for SearchType
impl Sync for SearchType
impl Unpin for SearchType
impl UnwindSafe for SearchType
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