pub struct PlayOptions {
pub skip_to: Option<SkipTo>,
pub player_options_override: Option<ContextPlayerOptionOverrides>,
pub license: Option<String>,
pub seek_to: Option<u32>,
pub always_play_something: Option<bool>,
pub audio_stream: Option<String>,
pub initially_paused: Option<bool>,
pub prefetch_level: Option<String>,
pub system_initiated: Option<bool>,
}Fields§
§skip_to: Option<SkipTo>§player_options_override: Option<ContextPlayerOptionOverrides>§license: Option<String>§seek_to: Option<u32>§always_play_something: Option<bool>§audio_stream: Option<String>§initially_paused: Option<bool>§prefetch_level: Option<String>§system_initiated: Option<bool>Trait Implementations§
Source§impl Clone for PlayOptions
impl Clone for PlayOptions
Source§fn clone(&self) -> PlayOptions
fn clone(&self) -> PlayOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayOptions
impl Debug for PlayOptions
Source§impl<'de> Deserialize<'de> for PlayOptions
impl<'de> Deserialize<'de> for PlayOptions
Source§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
Auto Trait Implementations§
impl !Freeze for PlayOptions
impl RefUnwindSafe for PlayOptions
impl Send for PlayOptions
impl Sync for PlayOptions
impl Unpin for PlayOptions
impl UnwindSafe for PlayOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more