pub struct GetBookmarksResponse {
pub artists: Vec<ArtistBookmark>,
pub songs: Vec<SongBookmark>,
}
Expand description
{
"stat":"ok",
"result": {
"artists": [
{
"musicToken": "R130360",
"artistName": "Cannabich, Christian",
"artUrl": "http://cont-sv5-2.pandora.com/images/public/amz/5/2/9/7/095115137925_500W_488H.jpg",
"bookmarkToken": "80982345262345234",
"dateCreated": {
"nanos": 300000000,
"seconds": 22,
"year": 112,
"month": 4,
"hours": 11,
"time": 1350566223422,
"date": 23,
"minutes": 01,
"day": 2,
"timezoneOffset": 720
}
}
],
"songs": [
{
"sampleUrl": "http://www.pandora.com/favorites/getSample.jsp?token=32458973245b90287345d0234fc34f8b&allowExplicit=true",
"sampleGain": "-7.87",
"albumName": "Symphony In G Major",
"artistName": "Cannabich, Christian",
"musicToken": "S2894329",
"dateCreated": {
"nanos": 300000000,
"seconds": 22,
"year": 112,
"month": 4,
"hours": 11,
"time": 1350566223422,
"date": 23,
"minutes": 01,
"day": 2,
"timezoneOffset": 720
},
"artUrl": "http://cont-sv5-2.pandora.com/images/public/amz/5/2/9/7/095115137925_500W_488H.jpg",
"bookmarkToken": "290832123432459854",
"songName": "London Mozart Players, Christian Cannabich: Symphonies"
}
]
}
}
Fields§
§artists: Vec<ArtistBookmark>
A list of bookmarked artists.
songs: Vec<SongBookmark>
A list of bookmarked songs.
Trait Implementations§
Source§impl Clone for GetBookmarksResponse
impl Clone for GetBookmarksResponse
Source§fn clone(&self) -> GetBookmarksResponse
fn clone(&self) -> GetBookmarksResponse
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 GetBookmarksResponse
impl Debug for GetBookmarksResponse
Source§impl<'de> Deserialize<'de> for GetBookmarksResponse
impl<'de> Deserialize<'de> for GetBookmarksResponse
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 GetBookmarksResponse
impl RefUnwindSafe for GetBookmarksResponse
impl Send for GetBookmarksResponse
impl Sync for GetBookmarksResponse
impl Unpin for GetBookmarksResponse
impl UnwindSafe for GetBookmarksResponse
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