Struct rspotify_model::context::CurrentPlaybackContext [−][src]
pub struct CurrentPlaybackContext {
pub device: Device,
pub repeat_state: RepeatState,
pub shuffle_state: bool,
pub context: Option<Context>,
pub timestamp: DateTime<Utc>,
pub progress: Option<Duration>,
pub is_playing: bool,
pub item: Option<PlayableItem>,
pub currently_playing_type: CurrentlyPlayingType,
pub actions: Actions,
}Expand description
Fields
device: Devicerepeat_state: RepeatStateshuffle_state: boolcontext: Option<Context>timestamp: DateTime<Utc>progress: Option<Duration>is_playing: boolitem: Option<PlayableItem>currently_playing_type: CurrentlyPlayingTypeactions: ActionsTrait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CurrentPlaybackContext
impl Send for CurrentPlaybackContext
impl Sync for CurrentPlaybackContext
impl Unpin for CurrentPlaybackContext
impl UnwindSafe for CurrentPlaybackContext
Blanket Implementations
Mutably borrows from an owned value. Read more