pub struct ConnectionsConfig {
pub spotify_client_id: Option<String>,
pub last_fm_key: Option<String>,
pub last_fm_secret: Option<String>,
}Fields§
§spotify_client_id: Option<String>§last_fm_key: Option<String>§last_fm_secret: Option<String>Trait Implementations§
Source§impl Clone for ConnectionsConfig
impl Clone for ConnectionsConfig
Source§fn clone(&self) -> ConnectionsConfig
fn clone(&self) -> ConnectionsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ConnectionsConfig
impl Debug for ConnectionsConfig
Source§impl Default for ConnectionsConfig
impl Default for ConnectionsConfig
Source§fn default() -> ConnectionsConfig
fn default() -> ConnectionsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConnectionsConfig
impl<'de> Deserialize<'de> for ConnectionsConfig
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 ConnectionsConfig
impl RefUnwindSafe for ConnectionsConfig
impl Send for ConnectionsConfig
impl Sync for ConnectionsConfig
impl Unpin for ConnectionsConfig
impl UnwindSafe for ConnectionsConfig
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