pub struct ArtistsClient { /* private fields */ }Expand description
Spotify artist API client.
Implementations§
Source§impl ArtistsClient
impl ArtistsClient
pub fn new(http: HttpClient, auth: AuthService) -> Self
pub fn get(&self, artist_id: &str) -> Result<Artist>
Trait Implementations§
Source§impl Clone for ArtistsClient
impl Clone for ArtistsClient
Source§fn clone(&self) -> ArtistsClient
fn clone(&self) -> ArtistsClient
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 moreAuto Trait Implementations§
impl Freeze for ArtistsClient
impl !RefUnwindSafe for ArtistsClient
impl Send for ArtistsClient
impl Sync for ArtistsClient
impl Unpin for ArtistsClient
impl !UnwindSafe for ArtistsClient
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