pub enum DownloadSource {
Original,
Profile {
name: String,
},
Aac256,
Unknown,
}Expand description
What a download is made from.
Variants§
Original
Original quality: the file, converted only where the device needs it, at its resolution and with its HDR.
Profile
The copy in an optimized profile, by name, as
DownloadOptions::profiles lists them. A film or an episode only.
Aac256
A track as AAC at 256 kbit/s (spoolframe:music-downloads),
smaller than the original: for a device short of space. A lossy
file at or under 256 kbit/s the device plays is sent as it is. A
track only.
Unknown
A source this build does not know, from a newer client: the server
answers InvalidInput.
Trait Implementations§
Source§impl Clone for DownloadSource
impl Clone for DownloadSource
Source§impl Debug for DownloadSource
impl Debug for DownloadSource
Source§impl<'de> Deserialize<'de> for DownloadSource
impl<'de> Deserialize<'de> for DownloadSource
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 DownloadSource
Source§impl PartialEq for DownloadSource
impl PartialEq for DownloadSource
Source§impl Serialize for DownloadSource
impl Serialize for DownloadSource
impl StructuralPartialEq for DownloadSource
Auto Trait Implementations§
impl Freeze for DownloadSource
impl RefUnwindSafe for DownloadSource
impl Send for DownloadSource
impl Sync for DownloadSource
impl Unpin for DownloadSource
impl UnsafeUnpin for DownloadSource
impl UnwindSafe for DownloadSource
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