pub struct QueueContainer {
pub id: Option<String>,
pub container_type: Option<String>,
pub href: Option<String>,
pub name: Option<String>,
pub attributes: Option<Value>,
}Expand description
The container (playlist, station, album) a queue item was sourced from.
Container attributes vary by type and are exposed as raw JSON.
Fields§
§id: Option<String>Container ID (e.g. "ra.cp-1055074639").
container_type: Option<String>Container type (e.g. "stations", "playlists", "albums").
href: Option<String>Apple Music API href for the container.
name: Option<String>Display name / context label (e.g. "now_playing").
attributes: Option<Value>Container-specific attributes (varies by type).
Trait Implementations§
Source§impl Clone for QueueContainer
impl Clone for QueueContainer
Source§fn clone(&self) -> QueueContainer
fn clone(&self) -> QueueContainer
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 QueueContainer
impl Debug for QueueContainer
Source§impl<'de> Deserialize<'de> for QueueContainer
impl<'de> Deserialize<'de> for QueueContainer
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 QueueContainer
impl RefUnwindSafe for QueueContainer
impl Send for QueueContainer
impl Sync for QueueContainer
impl Unpin for QueueContainer
impl UnsafeUnpin for QueueContainer
impl UnwindSafe for QueueContainer
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