pub struct GetUserSavedTracks {
pub market: Option<Market>,
}Expand description
Get a list of the tracks saved in the current Spotify user’s library.
This API endpoint is in beta and could change without warning. Please share any feedback that you have, or issues that you discover, in the Spotify developer community forum.
Fields§
§market: Option<Market>An ISO 3166-1 alpha-2 country code. If a country code is specified, only content that is available in that market will be returned. If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.
§Notes
If neither market or user country are provided, the content is considered unavailable for the client. Users can view the country that is associated with their account in the account settings.
Trait Implementations§
Source§impl Clone for GetUserSavedTracks
impl Clone for GetUserSavedTracks
Source§fn clone(&self) -> GetUserSavedTracks
fn clone(&self) -> GetUserSavedTracks
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 moreSource§impl Debug for GetUserSavedTracks
impl Debug for GetUserSavedTracks
Source§impl Default for GetUserSavedTracks
impl Default for GetUserSavedTracks
Source§fn default() -> GetUserSavedTracks
fn default() -> GetUserSavedTracks
Returns the “default value” for a type. Read more
Source§impl Endpoint for GetUserSavedTracks
impl Endpoint for GetUserSavedTracks
Source§fn parameters(&self) -> QueryParams<'_>
fn parameters(&self) -> QueryParams<'_>
Query parameters for the endpoint.
Source§impl From<String> for GetUserSavedTracks
impl From<String> for GetUserSavedTracks
impl Pageable for GetUserSavedTracks
Auto Trait Implementations§
impl Freeze for GetUserSavedTracks
impl RefUnwindSafe for GetUserSavedTracks
impl Send for GetUserSavedTracks
impl Sync for GetUserSavedTracks
impl Unpin for GetUserSavedTracks
impl UnwindSafe for GetUserSavedTracks
Blanket Implementations§
Source§impl<E, T, C> AsyncQuery<T, C> for E
impl<E, T, C> AsyncQuery<T, C> for E
Source§fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
Perform the query asynchronously against the client.
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