pub struct DownloadEstimate {
pub source: DownloadSource,
pub size_bytes: Option<u64>,
pub readiness: DownloadReadiness,
}Expand description
About one download option (DownloadOptions): how large it is and
whether it waits for a conversion.
Fields§
§source: DownloadSource§size_bytes: Option<u64>About how many bytes the file is with every track: the item’s
own size where nothing is converted, else the converted video’s
rate and the rest of the file’s over its length. None when the
server cannot tell (the file’s length is not known).
readiness: DownloadReadinessTrait Implementations§
Source§impl Clone for DownloadEstimate
impl Clone for DownloadEstimate
Source§impl Debug for DownloadEstimate
impl Debug for DownloadEstimate
Source§impl<'de> Deserialize<'de> for DownloadEstimate
impl<'de> Deserialize<'de> for DownloadEstimate
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 DownloadEstimate
Source§impl PartialEq for DownloadEstimate
impl PartialEq for DownloadEstimate
Source§impl Serialize for DownloadEstimate
impl Serialize for DownloadEstimate
impl StructuralPartialEq for DownloadEstimate
Auto Trait Implementations§
impl Freeze for DownloadEstimate
impl RefUnwindSafe for DownloadEstimate
impl Send for DownloadEstimate
impl Sync for DownloadEstimate
impl Unpin for DownloadEstimate
impl UnsafeUnpin for DownloadEstimate
impl UnwindSafe for DownloadEstimate
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