pub struct GetStationList {
pub optional: HashMap<String, Value>,
}
Expand description
| Name | Type | Description | | includeStationArtUrl | boolean | Includes “artUrl” field in result (optional) | | stationArtSize | string | “W130H130” (optional) | | includeAdAttributes | boolean | (optional) | | includeStationSeeds | boolean | (optional) | | includeShuffleInsteadOfQuickMix | boolean | (optional) | | includeRecommendations | boolean | (optional) | | includeExplanations | boolean | (optional) |
{
"userAuthToken": "XXX",
"syncTime": XXX
}
Fields§
§optional: HashMap<String, Value>
Optional parameters on the call
Implementations§
Source§impl GetStationList
impl GetStationList
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new GetStationList with some values. All Optional fields are set to None.
Sourcepub fn and_boolean_option(self, option: &str, value: bool) -> Self
pub fn and_boolean_option(self, option: &str, value: bool) -> Self
Convenience function for setting boolean flags in the request. (Chaining call)
Sourcepub fn and_string_option(self, option: &str, value: &str) -> Self
pub fn and_string_option(self, option: &str, value: &str) -> Self
Convenience function for setting boolean flags in the request. (Chaining call)
Sourcepub fn include_station_art_url(self, value: bool) -> Self
pub fn include_station_art_url(self, value: bool) -> Self
Whether to include station art url in the response. (Chaining call)
Sourcepub fn station_art_size(self, value: &str) -> Self
pub fn station_art_size(self, value: &str) -> Self
The size of the station art image to include in the response. (Chaining call)
Sourcepub fn include_ad_attributes(self, value: bool) -> Self
pub fn include_ad_attributes(self, value: bool) -> Self
Whether to include ad attributes in the response. (Chaining call)
Sourcepub fn include_station_seeds(self, value: bool) -> Self
pub fn include_station_seeds(self, value: bool) -> Self
Whether to include station seeds in the response. (Chaining call)
Sourcepub fn include_shuffle_instead_of_quick_mix(self, value: bool) -> Self
pub fn include_shuffle_instead_of_quick_mix(self, value: bool) -> Self
Whether to include shuffle stations instead of quickmix in the response. (Chaining call)
Sourcepub fn include_recommendations(self, value: bool) -> Self
pub fn include_recommendations(self, value: bool) -> Self
Whether to include recommendations in the response. (Chaining call)
Sourcepub fn include_explanations(self, value: bool) -> Self
pub fn include_explanations(self, value: bool) -> Self
Whether to include explanations in the response. (Chaining call)
Trait Implementations§
Source§impl Clone for GetStationList
impl Clone for GetStationList
Source§fn clone(&self) -> GetStationList
fn clone(&self) -> GetStationList
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more