pub struct GetStationListResponse {
pub stations: Vec<Station>,
pub checksum: String,
}
Expand description
Currently stationId and stationToken are the same.
QuickMix stations additionally include a list of station ids (quickMixStationIds) that are currently selected for the mix.
| Name | Type | Description | | stations.stationId | string | | | stations.stationName | string | | | stations.dateCreated.time | int | Number of milliseconds since Unix epoch | | checksum | string | |
{
"stat":"ok",
"result":{
"stations":[
{
"suppressVideoAds":true,
"isQuickMix":true,
"stationId":"3914377363925265",
"stationDetailUrl":"https://www.pandora.com/login?target=%2Fstations%2Fa61985110ea3d6c6c8d8a9c038588b26425ba2910f7abf8b",
"isShared":false,
"dateCreated":{
"date":8,
"day":4,
"hours":22,
"minutes":44,
"month":10,
"nanos":241000000,
"seconds":46,
"time":1194590686241,
"timezoneOffset":480,
"year":107
},
"stationToken":"3914377363925265",
"stationName":"QuickMix",
"stationSharingUrl":"https://www.pandora.com/login?target=%2Fshare%2Fstation%2Fa61985110ea3d6c6c8d8a9c038588b26425ba2910f7abf8b",
"requiresCleanAds":true,
"allowRename":false,
"allowAddMusic":false,
"quickMixStationIds":[
"339646069607180561",
"339644480469281041"
],
"allowDelete":false,
"allowEditDescription":false
}
],
"checksum":"99776ddd31ad798895578593e78e3691"
}
}
Fields§
§stations: Vec<Station>
List of user-defined stations.
checksum: String
Checksum over the list of stations. This can be used later to determine whether the station list has changed and cached station list information can be re-used.
Trait Implementations§
Source§impl Clone for GetStationListResponse
impl Clone for GetStationListResponse
Source§fn clone(&self) -> GetStationListResponse
fn clone(&self) -> GetStationListResponse
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 GetStationListResponse
impl Debug for GetStationListResponse
Source§impl<'de> Deserialize<'de> for GetStationListResponse
impl<'de> Deserialize<'de> for GetStationListResponse
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 GetStationListResponse
impl RefUnwindSafe for GetStationListResponse
impl Send for GetStationListResponse
impl Sync for GetStationListResponse
impl Unpin for GetStationListResponse
impl UnwindSafe for GetStationListResponse
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