Struct connectr::webapi::PlayContext
[−]
[src]
pub struct PlayContext { pub context_uri: Option<String>, pub uris: Option<Vec<String>>, pub offset: Option<PlayContextOffset>, }
Fields
context_uri: Option<String>
uris: Option<Vec<String>>
offset: Option<PlayContextOffset>
Methods
impl PlayContext
[src]
pub fn new() -> PlayContext
[src]
pub fn context_uri<'a>(&'a mut self, uri: &str) -> &'a mut PlayContext
[src]
pub fn uri<'a>(&'a mut self, uri: &str) -> &'a mut PlayContext
[src]
pub fn offset_position<'a>(&'a mut self, position: u32) -> &'a mut PlayContext
[src]
pub fn offset_uri<'a>(&'a mut self, uri: &str) -> &'a mut PlayContext
[src]
pub fn build(&self) -> PlayContext
[src]
Trait Implementations
impl Default for PlayContext
[src]
fn default() -> PlayContext
[src]
Returns the "default value" for a type. Read more