pub struct DownloadEntry {
pub index: u32,
pub aid: u64,
pub bvid: Option<String>,
pub cid: u64,
pub epid: Option<u64>,
pub title: String,
pub source: StreamSource,
pub streams: StreamSet,
pub diagnostics: StreamDiagnostics,
pub subtitles: Vec<SubtitleTrack>,
pub danmaku: DanmakuTrack,
}Fields§
§index: u32§aid: u64§bvid: Option<String>§cid: u64§epid: Option<u64>§title: String§source: StreamSource§streams: StreamSet§diagnostics: StreamDiagnostics§subtitles: Vec<SubtitleTrack>§danmaku: DanmakuTrackTrait Implementations§
Source§impl Clone for DownloadEntry
impl Clone for DownloadEntry
Source§fn clone(&self) -> DownloadEntry
fn clone(&self) -> DownloadEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DownloadEntry
impl Debug for DownloadEntry
Source§impl<'de> Deserialize<'de> for DownloadEntry
impl<'de> Deserialize<'de> for DownloadEntry
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 DownloadEntry
Source§impl PartialEq for DownloadEntry
impl PartialEq for DownloadEntry
Source§fn eq(&self, other: &DownloadEntry) -> bool
fn eq(&self, other: &DownloadEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DownloadEntry
impl Serialize for DownloadEntry
impl StructuralPartialEq for DownloadEntry
Auto Trait Implementations§
impl Freeze for DownloadEntry
impl RefUnwindSafe for DownloadEntry
impl Send for DownloadEntry
impl Sync for DownloadEntry
impl Unpin for DownloadEntry
impl UnsafeUnpin for DownloadEntry
impl UnwindSafe for DownloadEntry
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