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