Struct spotify::status::SpotifyStatusChange [] [src]

pub struct SpotifyStatusChange {
    pub volume: bool,
    pub online: bool,
    pub version: bool,
    pub running: bool,
    pub playing: bool,
    pub shuffle: bool,
    pub server_time: bool,
    pub play_enabled: bool,
    pub prev_enabled: bool,
    pub next_enabled: bool,
    pub client_version: bool,
    pub playing_position: bool,
    pub open_graph_state: bool,
    pub track: bool,
}

A change in the Spotify status.

Fields

Indicates a change in the volume.

Indicates a change in the online status.

Indicates a change in the protocol version.

Indicates a change in the running state.

Indicates a change in the playing state.

Indicates a change in the shuffle mode.

Indicates a change in the server time.

Indicates a change in the play enabled state.

Indicates a change in the prev enabled state.

Indicates a change in the next enabled state.

Indicates a change in the client version.

Indicates a change in the playing position.

Indicates a change in the open graph data.

Indicates a change in the track.

Methods

impl SpotifyStatusChange
[src]

Implements SpotifyStatusChange.

Constructs a new SpotifyStatusChange with all fields set to true.

Trait Implementations

impl From<(SpotifyStatus, SpotifyStatus)> for SpotifyStatusChange
[src]

Implements From<(SpotifyStatus, SpotifyStatus)> for SpotifyStatusChange.

Performs the conversion.