pub struct AddMusicResponse {
pub artist_name: String,
pub music_token: String,
pub seed_id: String,
pub art_url: String,
}
Expand description
| Name | Type | Description | | seedId | string | Can be used to remove seed with station::delete_music() |
{
"stat": "ok",
"result": {
"artistName": "Foo Fighters",
"musicToken": "3bcf3f314419f974",
"seedId": "2123197691273031149",
"artUrl": "http://cont-dc6-1.pandora.com/images/public/amg/portrait/pic200/drP900/P972/P97242B3S6P.jpg"
}
}
Fields§
§artist_name: String
The name of the artist being rated.
music_token: String
The unique id (token) for the music object added. Artist tokens start with ‘R’, composers with ‘C’, songs with ‘S’, and genres with ‘G’.
seed_id: String
Unknown
art_url: String
A link to an image of the added object.
Trait Implementations§
Source§impl Clone for AddMusicResponse
impl Clone for AddMusicResponse
Source§fn clone(&self) -> AddMusicResponse
fn clone(&self) -> AddMusicResponse
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 AddMusicResponse
impl Debug for AddMusicResponse
Source§impl<'de> Deserialize<'de> for AddMusicResponse
impl<'de> Deserialize<'de> for AddMusicResponse
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 AddMusicResponse
impl RefUnwindSafe for AddMusicResponse
impl Send for AddMusicResponse
impl Sync for AddMusicResponse
impl Unpin for AddMusicResponse
impl UnwindSafe for AddMusicResponse
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