[−][src]Struct deezer::models::Options
Contains all the information provided for a user's Options.
Examples
let deezer = DeezerClient::new(); let options = deezer.user_options().await?;
Fields
streaming: bool
If the user can stream on the platform
streaming_duration: u64
the streaming duration of the user (in seconds?)
offline: bool
The user can listen to the music in offline mode
hq: bool
The HQ can be activated
ads_display: bool
Displays ads
ads_audio: bool
Activates audio ads
has_too_many_devices: bool
If the user reached the limit of linked devices
can_subscribe: bool
If the user can subscribe to the service
radio_skips: u64
The limit of radio skips. 0 = no limit
lossless: bool
Lossless is available
preview: bool
Allows to display the preview of the tracks
radio: bool
Allows to stream the radio
Trait Implementations
impl Debug for Options
[src]
impl<'de> Deserialize<'de> for Options
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Options
[src]
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,