pub struct DownloadSettings {Show 18 fields
pub output_dir: String,
pub filename_template: String,
pub embed_metadata: bool,
pub embed_lyrics: bool,
pub embed_lyrics_lx: bool,
pub embed_lyrics_translated: bool,
pub embed_lyrics_romanized: bool,
pub embed_cover: bool,
pub save_lyrics_file: bool,
pub save_cover_file: bool,
pub lrc_encoding: String,
pub max_concurrent: usize,
pub skip_existing: bool,
pub use_other_source: bool,
pub group_by_source: bool,
pub timeout: u64,
pub beet_import: bool,
pub use_beets_library: bool,
}Fields§
§output_dir: String§filename_template: String§embed_metadata: bool§embed_lyrics: bool§embed_lyrics_lx: bool§embed_lyrics_translated: bool§embed_lyrics_romanized: bool§embed_cover: bool§save_lyrics_file: bool§save_cover_file: bool§lrc_encoding: String§max_concurrent: usize§skip_existing: bool§use_other_source: bool§group_by_source: bool§timeout: u64§beet_import: bool§use_beets_library: 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 Default for DownloadSettings
impl Default 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