pub struct YtdlpOptions {Show 23 fields
pub embed_metadata: bool,
pub embed_thumbnail: bool,
pub postprocess_thumbnail_square: bool,
pub embed_chapters: bool,
pub embed_subs: bool,
pub embed_info_json: bool,
pub write_thumbnail: bool,
pub write_description: bool,
pub write_info_json: bool,
pub write_subs: bool,
pub write_auto_subs: bool,
pub write_comments: bool,
pub sponsorblock: bool,
pub sponsorblock_mark: bool,
pub split_chapters: bool,
pub convert_thumbnail: String,
pub no_playlist: bool,
pub xattrs: bool,
pub no_mtime: bool,
pub rate_limit: String,
pub cookies_from_browser: String,
pub js_runtimes: String,
pub audio_quality: u8,
}Fields§
§embed_metadata: bool§embed_thumbnail: bool§postprocess_thumbnail_square: bool§embed_chapters: bool§embed_subs: bool§embed_info_json: bool§write_thumbnail: bool§write_description: bool§write_info_json: bool§write_subs: bool§write_auto_subs: bool§write_comments: bool§sponsorblock: bool§sponsorblock_mark: bool§split_chapters: bool§convert_thumbnail: String§no_playlist: bool§xattrs: bool§no_mtime: bool§rate_limit: String§js_runtimes: String§audio_quality: u8Trait Implementations§
Source§impl Clone for YtdlpOptions
impl Clone for YtdlpOptions
Source§fn clone(&self) -> YtdlpOptions
fn clone(&self) -> YtdlpOptions
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 YtdlpOptions
impl Debug for YtdlpOptions
Source§impl Default for YtdlpOptions
impl Default for YtdlpOptions
Source§impl<'de> Deserialize<'de> for YtdlpOptions
impl<'de> Deserialize<'de> for YtdlpOptions
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
Source§impl PartialEq for YtdlpOptions
impl PartialEq for YtdlpOptions
Source§fn eq(&self, other: &YtdlpOptions) -> bool
fn eq(&self, other: &YtdlpOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for YtdlpOptions
impl Serialize for YtdlpOptions
impl StructuralPartialEq for YtdlpOptions
Auto Trait Implementations§
impl Freeze for YtdlpOptions
impl RefUnwindSafe for YtdlpOptions
impl Send for YtdlpOptions
impl Sync for YtdlpOptions
impl Unpin for YtdlpOptions
impl UnsafeUnpin for YtdlpOptions
impl UnwindSafe for YtdlpOptions
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