pub struct DownloadSettings {Show 21 fields
pub default_output_dir: PathBuf,
pub always_ask_path: bool,
pub video_quality: String,
pub skip_existing: bool,
pub download_attachments: bool,
pub download_descriptions: bool,
pub embed_metadata: bool,
pub embed_thumbnail: bool,
pub clipboard_detection: bool,
pub filename_template: String,
pub organize_by_platform: bool,
pub download_subtitles: bool,
pub include_auto_subtitles: bool,
pub translate_metadata: bool,
pub youtube_sponsorblock: bool,
pub split_by_chapters: bool,
pub hotkey_enabled: bool,
pub hotkey_binding: String,
pub extra_ytdlp_flags: Vec<String>,
pub copy_to_clipboard_on_hotkey: bool,
pub cookie_file: String,
}Fields§
§default_output_dir: PathBuf§always_ask_path: bool§video_quality: String§skip_existing: bool§download_attachments: bool§download_descriptions: bool§embed_metadata: bool§embed_thumbnail: bool§clipboard_detection: bool§filename_template: String§organize_by_platform: bool§download_subtitles: bool§include_auto_subtitles: bool§translate_metadata: bool§youtube_sponsorblock: bool§split_by_chapters: bool§hotkey_enabled: bool§hotkey_binding: String§extra_ytdlp_flags: Vec<String>§copy_to_clipboard_on_hotkey: boolTrait Implementations§
Source§impl Clone for DownloadSettings
impl Clone for DownloadSettings
Source§fn clone(&self) -> DownloadSettings
fn clone(&self) -> DownloadSettings
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 DownloadSettings
impl Debug for DownloadSettings
Source§impl<'de> Deserialize<'de> for DownloadSettings
impl<'de> Deserialize<'de> for DownloadSettings
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
Auto Trait Implementations§
impl Freeze for DownloadSettings
impl RefUnwindSafe for DownloadSettings
impl Send for DownloadSettings
impl Sync for DownloadSettings
impl Unpin for DownloadSettings
impl UnsafeUnpin for DownloadSettings
impl UnwindSafe for DownloadSettings
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