pub struct SearchClient { /* private fields */ }Expand description
Spotify search API client.
Implementations§
Source§impl SearchClient
impl SearchClient
pub fn new(http: HttpClient, auth: AuthService) -> Self
pub fn search( &self, query: &str, kind: SearchType, limit: u32, market_from_token: bool, ) -> Result<SearchResults>
Trait Implementations§
Source§impl Clone for SearchClient
impl Clone for SearchClient
Source§fn clone(&self) -> SearchClient
fn clone(&self) -> SearchClient
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 SearchClient
impl !RefUnwindSafe for SearchClient
impl Send for SearchClient
impl Sync for SearchClient
impl Unpin for SearchClient
impl !UnwindSafe for SearchClient
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