pub struct PlayParams {
pub stream_name: String,
pub start: f64,
pub duration: f64,
pub reset: bool,
pub stream_id: u32,
}Expand description
Play command parameters
Fields§
§stream_name: StringStream name
start: f64Start time (-2 = live, -1 = live or recorded, >= 0 = specific time)
duration: f64Duration (-1 = until end)
reset: boolReset flag
stream_id: u32Message stream ID
Trait Implementations§
Source§impl Clone for PlayParams
impl Clone for PlayParams
Source§fn clone(&self) -> PlayParams
fn clone(&self) -> PlayParams
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 moreAuto Trait Implementations§
impl Freeze for PlayParams
impl RefUnwindSafe for PlayParams
impl Send for PlayParams
impl Sync for PlayParams
impl Unpin for PlayParams
impl UnwindSafe for PlayParams
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