pub struct PlaybackContext {
pub context_type: Option<String>,
pub href: Option<String>,
pub external_urls: Option<ExternalUrls>,
pub uri: Option<String>,
}Expand description
Playback context (what’s being played from).
Fields§
§context_type: Option<String>Context type: album, artist, playlist.
href: Option<String>Spotify URL.
external_urls: Option<ExternalUrls>External URLs.
uri: Option<String>Spotify URI.
Trait Implementations§
Source§impl Clone for PlaybackContext
impl Clone for PlaybackContext
Source§fn clone(&self) -> PlaybackContext
fn clone(&self) -> PlaybackContext
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 PlaybackContext
impl Debug for PlaybackContext
Source§impl<'de> Deserialize<'de> for PlaybackContext
impl<'de> Deserialize<'de> for PlaybackContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PlaybackContext
impl RefUnwindSafe for PlaybackContext
impl Send for PlaybackContext
impl Sync for PlaybackContext
impl Unpin for PlaybackContext
impl UnwindSafe for PlaybackContext
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