pub struct GetPlaylistItems {
pub id: String,
pub market: Option<Market>,
}Expand description
Get full details of the items of a playlist owned by a Spotify user.
Fields§
§id: StringThe Spotify ID of the playlist.
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 GetPlaylistItems
impl Clone for GetPlaylistItems
Source§fn clone(&self) -> GetPlaylistItems
fn clone(&self) -> GetPlaylistItems
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 GetPlaylistItems
impl Debug for GetPlaylistItems
Source§impl Endpoint for GetPlaylistItems
impl Endpoint for GetPlaylistItems
Source§fn parameters(&self) -> QueryParams<'_>
fn parameters(&self) -> QueryParams<'_>
Query parameters for the endpoint.
impl Pageable for GetPlaylistItems
Auto Trait Implementations§
impl Freeze for GetPlaylistItems
impl RefUnwindSafe for GetPlaylistItems
impl Send for GetPlaylistItems
impl Sync for GetPlaylistItems
impl Unpin for GetPlaylistItems
impl UnwindSafe for GetPlaylistItems
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