pub struct Command {
pub name: String,
pub transaction_id: f64,
pub command_object: AmfValue,
pub arguments: Vec<AmfValue>,
pub stream_id: u32,
}Expand description
RTMP command (connect, publish, play, etc.)
Fields§
§name: StringCommand name
transaction_id: f64Transaction ID
command_object: AmfValueCommand object (often null for responses)
arguments: Vec<AmfValue>Additional arguments
stream_id: u32Message stream ID (from chunk)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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