Struct spotify::status::OpenGraphState
[−]
[src]
pub struct OpenGraphState { pub private_session: bool, pub posting_disabled: bool, }
A Spotify Open Graph state.
Fields
private_session: bool
Whether the current session is private.
posting_disabled: bool
Whether posting is disabled.
Trait Implementations
impl Clone for OpenGraphState
[src]
fn clone(&self) -> OpenGraphState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> From<&'a JsonValue> for OpenGraphState
[src]
Implements From<&'a JsonValue>
for OpenGraphState
.
fn from(json: &'a JsonValue) -> OpenGraphState
Performs the conversion.