pub struct LastFmConnection(pub UserConnections, pub Config);Expand description
A connection to last.fm.
Tuple Fields§
§0: UserConnections§1: ConfigImplementations§
Source§impl LastFmConnection
impl LastFmConnection
Sourcepub fn signature(params: HashMap<String, String>, secret: String) -> String
pub fn signature(params: HashMap<String, String>, secret: String) -> String
Create a legacy MD5 signature, since last.fm is old.
Sourcepub fn connection() -> ExternalConnectionInfo
pub fn connection() -> ExternalConnectionInfo
Create a new ExternalConnectionInfo for the connection.
Auto Trait Implementations§
impl Freeze for LastFmConnection
impl RefUnwindSafe for LastFmConnection
impl Send for LastFmConnection
impl Sync for LastFmConnection
impl Unpin for LastFmConnection
impl UnwindSafe for LastFmConnection
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