pub enum OriginalDownload {
AsIs,
Remux,
Convert {
video: bool,
audio: Vec<u32>,
},
Unknown,
}Expand description
What a download in original quality with every track would be
(DownloadOptions::original).
Variants§
AsIs
The file itself, byte for byte: the device plays it as it is.
Remux
A remux, with nothing converted: another container, or subtitles beside the file to carry.
Convert
What the device cannot play is converted first (the server keeps
the conversion for the next download): the video when video,
and the audio tracks in audio, by place. A choice of tracks
that leaves out every one of them, and keeps the video, is a
remux.
Unknown
A kind this build does not know.
Trait Implementations§
Source§impl Clone for OriginalDownload
impl Clone for OriginalDownload
Source§impl Debug for OriginalDownload
impl Debug for OriginalDownload
Source§impl<'de> Deserialize<'de> for OriginalDownload
impl<'de> Deserialize<'de> for OriginalDownload
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 OriginalDownload
Source§impl PartialEq for OriginalDownload
impl PartialEq for OriginalDownload
Source§impl Serialize for OriginalDownload
impl Serialize for OriginalDownload
impl StructuralPartialEq for OriginalDownload
Auto Trait Implementations§
impl Forget for OriginalDownload
impl Freeze for OriginalDownload
impl Move for OriginalDownload
impl RefUnwindSafe for OriginalDownload
impl Send for OriginalDownload
impl Sync for OriginalDownload
impl Unpin for OriginalDownload
impl UnsafeUnpin for OriginalDownload
impl UnwindSafe for OriginalDownload
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