pub struct IntegrationConfig {Show 13 fields
pub discord_presence: Option<bool>,
pub discord_presence_paused: Option<bool>,
pub discord_presence_source: Option<bool>,
pub musicbrainz_token: String,
pub lastfm_api_key: String,
pub lastfm_api_secret: String,
pub lastfm_session_key: String,
pub librefm_api_key: String,
pub librefm_api_secret: String,
pub librefm_session_key: String,
pub prefer_local_lyrics: bool,
pub enable_musixmatch_lyrics: bool,
pub radio_registries: Vec<RegistryEntry>,
}Fields§
§discord_presence: Option<bool>§discord_presence_paused: Option<bool>§discord_presence_source: Option<bool>§musicbrainz_token: String§lastfm_api_key: String§lastfm_api_secret: String§lastfm_session_key: String§librefm_api_key: String§librefm_api_secret: String§librefm_session_key: String§prefer_local_lyrics: bool§enable_musixmatch_lyrics: bool§radio_registries: Vec<RegistryEntry>Trait Implementations§
Source§impl Clone for IntegrationConfig
impl Clone for IntegrationConfig
Source§fn clone(&self) -> IntegrationConfig
fn clone(&self) -> IntegrationConfig
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 IntegrationConfig
impl Debug for IntegrationConfig
Source§impl PartialEq for IntegrationConfig
impl PartialEq for IntegrationConfig
Source§fn eq(&self, other: &IntegrationConfig) -> bool
fn eq(&self, other: &IntegrationConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IntegrationConfig
Auto Trait Implementations§
impl Freeze for IntegrationConfig
impl RefUnwindSafe for IntegrationConfig
impl Send for IntegrationConfig
impl Sync for IntegrationConfig
impl Unpin for IntegrationConfig
impl UnsafeUnpin for IntegrationConfig
impl UnwindSafe for IntegrationConfig
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