pub struct NetConnectionCommandConnect<'a> {
pub app: StringCow<'a>,
pub caps_ex: Option<CapsExMask>,
pub others: HashMap<StringCow<'a>, Amf0Value<'a>>,
}
Expand description
NetConnection command connect
.
Defined by:
- Legacy RTMP spec, 7.2.1.1
- Enhanced RTMP spec, page 36-37, Enhancing NetConnection connect Command
Fields§
§app: StringCow<'a>
Tells the server application name the client is connected to.
caps_ex: Option<CapsExMask>
represents capability flags which can be combined via a
Bitwise OR to indicate which extended set of capabilities (i.e.,
beyond the legacy RTMP specification) are supported via E-RTMP.
See enum CapsExMask
for the enumerated values representing the
assigned bits.
others: HashMap<StringCow<'a>, Amf0Value<'a>>
All other parameters.
Defined by:
- Legacy RTMP spec, page 30
- Enhanced RTMP spec, page 36-37
Trait Implementations§
Source§impl<'a> Clone for NetConnectionCommandConnect<'a>
impl<'a> Clone for NetConnectionCommandConnect<'a>
Source§fn clone(&self) -> NetConnectionCommandConnect<'a>
fn clone(&self) -> NetConnectionCommandConnect<'a>
Returns a copy 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<'a> Debug for NetConnectionCommandConnect<'a>
impl<'a> Debug for NetConnectionCommandConnect<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for NetConnectionCommandConnect<'a>where
'a: 'de,
impl<'de: 'a, 'a> Deserialize<'de> for NetConnectionCommandConnect<'a>where
'a: 'de,
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
Source§impl<'a> PartialEq for NetConnectionCommandConnect<'a>
impl<'a> PartialEq for NetConnectionCommandConnect<'a>
Source§fn eq(&self, other: &NetConnectionCommandConnect<'a>) -> bool
fn eq(&self, other: &NetConnectionCommandConnect<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for NetConnectionCommandConnect<'a>
Auto Trait Implementations§
impl<'a> !Freeze for NetConnectionCommandConnect<'a>
impl<'a> RefUnwindSafe for NetConnectionCommandConnect<'a>
impl<'a> Send for NetConnectionCommandConnect<'a>
impl<'a> Sync for NetConnectionCommandConnect<'a>
impl<'a> Unpin for NetConnectionCommandConnect<'a>
impl<'a> UnwindSafe for NetConnectionCommandConnect<'a>
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