pub struct AddFeedbackResponse {
pub date_created: Timestamp,
pub music_token: String,
pub total_thumbs_up: u32,
pub total_thumbs_down: u32,
pub feedback_id: String,
pub is_positive: bool,
pub song_name: String,
pub artist_name: String,
pub album_art_url: String,
pub station_personalization_percent: u8,
}Expand description
| Name | Type | Description |
|---|---|---|
| dateCreated | object | |
| musicToken | string | |
| songName | string | |
| totalThumbsUp | int | |
| feedbackId | string | See station-deleteFeedback |
| isPositive | boolean |
{
"stat": "ok",
"result": {
"totalThumbsDown": 4,
"stationPersonalizationPercent": 57,
"dateCreated": {
"date": 9,
"day": 3,
"hours": 6,
"minutes": 3,
"month": 6,
"seconds": 56,
"time": 1404911036840,
"timezoneOffset": 420,
"year": 114
},
"albumArtUrl": "http://cont-sv5-2.pandora.com/images/public/amz/2/2/9/5/094632175922_130W_130H.jpg",
"musicToken": "23234b0abdbeb37d",
"songName": "Nothing Compares 2 U",
"artistName": "Sinead O'Connor",
"totalThumbsUp": 20,
"feedbackId": "21955050420286614",
"isPositive": false
}
}Fields§
§date_created: TimestampTimestamp for when the bookmark was created.
music_token: StringThe unique id (token) for the artist. Artist tokens start with ‘R’, composers with ‘C’, songs with ‘S’, and genres with ‘G’.
total_thumbs_up: u32Total positive feedback submissions (for this user across stations? across all users?).
total_thumbs_down: u32Total negative feedback submissions (for this user across stations? across all users?).
feedback_id: StringThe unique id (token) for the submitted feedback.
is_positive: boolWhether feedback is positive (true) or negative (false).
song_name: StringThe name of the song being rated.
artist_name: StringThe name of the artist being rated.
album_art_url: StringA link to an image of the artist.
station_personalization_percent: u8Unknown
Trait Implementations§
Source§impl Clone for AddFeedbackResponse
impl Clone for AddFeedbackResponse
Source§fn clone(&self) -> AddFeedbackResponse
fn clone(&self) -> AddFeedbackResponse
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 AddFeedbackResponse
impl Debug for AddFeedbackResponse
Source§impl<'de> Deserialize<'de> for AddFeedbackResponse
impl<'de> Deserialize<'de> for AddFeedbackResponse
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 AddFeedbackResponse
impl RefUnwindSafe for AddFeedbackResponse
impl Send for AddFeedbackResponse
impl Sync for AddFeedbackResponse
impl Unpin for AddFeedbackResponse
impl UnwindSafe for AddFeedbackResponse
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