Struct spotify::status::SpotifyStatus [] [src]

pub struct SpotifyStatus { /* fields omitted */ }

A Spotify status.

Methods

impl SpotifyStatus
[src]

Implements SpotifyStatus.

Gets an easy-to-work-with abstraction over the currently playing track, containing only the names of the track, album and artist.

Gets the client version.

Gets the volume. Possible values range from 0.0_f32 to 1.0_f32.

Gets the volume as percentage. Possible values range from 0.0_f32 to 100.0_f32.

Gets the server timestamp.

Gets the local server time.

Gets the coordinated universal server time.

Gets a value indicating whether shuffling is enabled.

Gets a value indicating whether the client is currently connected to the Internet.

Gets a value indicating whether the current session is a private session.

Trait Implementations

impl Debug for SpotifyStatus
[src]

Formats the value using the given formatter.

impl Clone for SpotifyStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SpotifyStatus
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<JsonValue> for SpotifyStatus
[src]

Implements From<JsonValue> for SpotifyStatus.

Performs the conversion.