pub struct AddSongBookmarkResponse {
pub sample_gain: String,
pub music_token: String,
pub bookmark_token: String,
pub sample_url: String,
pub album_name: String,
pub song_name: String,
pub art_url: String,
pub date_created: Timestamp,
pub artist_name: String,
}Expand description
{
"stat": "ok",
"result": {
"sampleGain": "1.96",
"musicToken": "S1143982",
"bookmarkToken": "200207779061968365",
"sampleUrl": "http://www.pandora.com/favorites/getSample.jsp?token=a74b4f7551e3e174425ba2910f7abf8b&allowExplicit=true",
"albumName": "The 5th Exotic",
"songName": "The 5th Exotic",
"artUrl": "http://cont-sjl-1.pandora.com/images/public/amz/9/4/5/2/800002549_500W_500H.jpg",
"dateCreated": {
"date": 28,
"day": 1,
"hours": 6,
"minutes": 11,
"month": 4,
"seconds": 31,
"time": 1338210691404,
"timezoneOffset": 420,
"year": 112
},
"artistName": "Quantic"
}
}Fields§
§sample_gain: StringThe audio gain for the bookmarked track. (?)
music_token: StringThe unique id (token) for the song. Artist tokens start with ‘R’, composers with ‘C’, songs with ‘S’, and genres with ‘G’.
bookmark_token: StringThe unique id (token) for the newly-created bookmark.
sample_url: StringUrl for a sample of the bookmarked song.
album_name: StringThe name of the album for the song being bookmarked.
song_name: StringThe name of the song being bookmarked.
art_url: StringA link to an image of the artist.
date_created: TimestampTimestamp for when the bookmark was created.
artist_name: StringThe name of the artist being bookmarked.
Trait Implementations§
Source§impl Clone for AddSongBookmarkResponse
impl Clone for AddSongBookmarkResponse
Source§fn clone(&self) -> AddSongBookmarkResponse
fn clone(&self) -> AddSongBookmarkResponse
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 AddSongBookmarkResponse
impl Debug for AddSongBookmarkResponse
Source§impl<'de> Deserialize<'de> for AddSongBookmarkResponse
impl<'de> Deserialize<'de> for AddSongBookmarkResponse
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 AddSongBookmarkResponse
impl RefUnwindSafe for AddSongBookmarkResponse
impl Send for AddSongBookmarkResponse
impl Sync for AddSongBookmarkResponse
impl Unpin for AddSongBookmarkResponse
impl UnwindSafe for AddSongBookmarkResponse
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