pub struct DownloadAddonOptions {
pub tracks: MediaTracks,
pub audio: Vec<AddonAudio>,
pub subtitles: Vec<AddonSubtitle>,
}Expand description
What may be added to a download of an item without fetching the film
again (DownloadAddonOptions, feature spoolframe:download-addons):
each audio track as a file of its own, and each subtitle as WebVTT.
Fields§
§tracks: MediaTracksThe item’s tracks, as Tracks gives them: what track names by
place.
audio: Vec<AddonAudio>Every audio track, in tracks.audio’s order.
subtitles: Vec<AddonSubtitle>Every subtitle, in tracks.subtitles’s order.
Trait Implementations§
Source§impl Clone for DownloadAddonOptions
impl Clone for DownloadAddonOptions
Source§impl Debug for DownloadAddonOptions
impl Debug for DownloadAddonOptions
Source§impl<'de> Deserialize<'de> for DownloadAddonOptions
impl<'de> Deserialize<'de> for DownloadAddonOptions
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 DownloadAddonOptions
Source§impl PartialEq for DownloadAddonOptions
impl PartialEq for DownloadAddonOptions
Source§impl Serialize for DownloadAddonOptions
impl Serialize for DownloadAddonOptions
impl StructuralPartialEq for DownloadAddonOptions
Auto Trait Implementations§
impl Forget for DownloadAddonOptions
impl Freeze for DownloadAddonOptions
impl Move for DownloadAddonOptions
impl RefUnwindSafe for DownloadAddonOptions
impl Send for DownloadAddonOptions
impl Sync for DownloadAddonOptions
impl Unpin for DownloadAddonOptions
impl UnsafeUnpin for DownloadAddonOptions
impl UnwindSafe for DownloadAddonOptions
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