pub struct EffectiveSettings {Show 17 fields
pub token: Option<String>,
pub stored_token: Option<String>,
pub token_command: Option<String>,
pub account_id: Option<String>,
pub format: AudioFormat,
pub concurrency: u32,
pub retries: u32,
pub min_newest: u32,
pub animated_covers: bool,
pub details_sidecar: bool,
pub lyrics_sidecar: bool,
pub lrc_sidecar: bool,
pub video_mp4: bool,
pub naming_template: String,
pub character_set: CharacterSet,
pub areas: Option<AreasConfig>,
pub album_overrides: BTreeMap<String, String>,
}Expand description
Resolved effective settings for one account/source combination.
Fields§
§token: Option<String>A direct token from --token or SUNO_*_TOKEN.
stored_token: Option<String>A stored token from [accounts.<label>].token.
token_command: Option<String>A command to run for the token when no direct token was supplied.
account_id: Option<String>The optional configured account id assertion (see AccountConfig).
format: AudioFormat§concurrency: u32§retries: u32§min_newest: u32§animated_covers: bool§details_sidecar: bool§lyrics_sidecar: bool§lrc_sidecar: bool§video_mp4: bool§naming_template: String§character_set: CharacterSet§areas: Option<AreasConfig>The per-account [areas] selection table, if configured.
album_overrides: BTreeMap<String, String>Manual album-name overrides, keyed by lineage root id, resolved from the
account’s [accounts.<label>.albums] table. Deterministically ordered
(a BTreeMap) and pre-trimmed of empty values by Config::resolve.
Trait Implementations§
Source§impl Clone for EffectiveSettings
impl Clone for EffectiveSettings
Source§fn clone(&self) -> EffectiveSettings
fn clone(&self) -> EffectiveSettings
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 EffectiveSettings
impl Debug for EffectiveSettings
Source§impl PartialEq for EffectiveSettings
impl PartialEq for EffectiveSettings
Source§fn eq(&self, other: &EffectiveSettings) -> bool
fn eq(&self, other: &EffectiveSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EffectiveSettings
Auto Trait Implementations§
impl Freeze for EffectiveSettings
impl RefUnwindSafe for EffectiveSettings
impl Send for EffectiveSettings
impl Sync for EffectiveSettings
impl Unpin for EffectiveSettings
impl UnsafeUnpin for EffectiveSettings
impl UnwindSafe for EffectiveSettings
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