pub struct SpotifyClient { /* private fields */ }Expand description
Top-level Spotify API client factory.
Implementations§
Source§impl SpotifyClient
impl SpotifyClient
pub fn new(auth: AuthService) -> Result<Self>
pub fn playback(&self) -> PlaybackClient
pub fn albums(&self) -> AlbumsClient
pub fn artists(&self) -> ArtistsClient
pub fn devices(&self) -> DevicesClient
pub fn playlists(&self) -> PlaylistsClient
pub fn search(&self) -> SearchClient
pub fn track(&self) -> TrackClient
Trait Implementations§
Source§impl Clone for SpotifyClient
impl Clone for SpotifyClient
Source§fn clone(&self) -> SpotifyClient
fn clone(&self) -> SpotifyClient
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 SpotifyClient
impl !RefUnwindSafe for SpotifyClient
impl Send for SpotifyClient
impl Sync for SpotifyClient
impl Unpin for SpotifyClient
impl !UnwindSafe for SpotifyClient
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