Enum blob_dl::analyzer::DownloadOption
source · pub enum DownloadOption {
YtVideo(usize),
YtPlaylist,
}
Variants§
YtVideo(usize)
If the url refers to a video in a playlist and the user only wants to download the single video, YtVideo’s value is the video’s index in the playlist
YtPlaylist
Trait Implementations§
source§impl Clone for DownloadOption
impl Clone for DownloadOption
source§fn clone(&self) -> DownloadOption
fn clone(&self) -> DownloadOption
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 DownloadOption
impl Debug for DownloadOption
source§impl PartialEq<DownloadOption> for DownloadOption
impl PartialEq<DownloadOption> for DownloadOption
source§fn eq(&self, other: &DownloadOption) -> bool
fn eq(&self, other: &DownloadOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DownloadOption> for DownloadOption
impl PartialOrd<DownloadOption> for DownloadOption
source§fn partial_cmp(&self, other: &DownloadOption) -> Option<Ordering>
fn partial_cmp(&self, other: &DownloadOption) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralPartialEq for DownloadOption
Auto Trait Implementations§
impl RefUnwindSafe for DownloadOption
impl Send for DownloadOption
impl Sync for DownloadOption
impl Unpin for DownloadOption
impl UnwindSafe for DownloadOption
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