pub struct SubscribeTracks {
pub request_id: VarInt,
pub namespace_prefix: TrackNamespace,
pub parameters: Vec<KeyValuePair>,
}Expand description
SUBSCRIBE_TRACKS (0x51, new in draft-18). Subscribes to PUBLISH messages
for tracks whose namespace matches namespace_prefix. Carries the
FORWARD parameter (which previously lived on SUBSCRIBE_NAMESPACE).
Fields§
§request_id: VarInt§namespace_prefix: TrackNamespace§parameters: Vec<KeyValuePair>Trait Implementations§
Source§impl Clone for SubscribeTracks
impl Clone for SubscribeTracks
Source§fn clone(&self) -> SubscribeTracks
fn clone(&self) -> SubscribeTracks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubscribeTracks
impl Debug for SubscribeTracks
Source§impl PartialEq for SubscribeTracks
impl PartialEq for SubscribeTracks
Source§fn eq(&self, other: &SubscribeTracks) -> bool
fn eq(&self, other: &SubscribeTracks) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SubscribeTracks
impl StructuralPartialEq for SubscribeTracks
Auto Trait Implementations§
impl Freeze for SubscribeTracks
impl RefUnwindSafe for SubscribeTracks
impl Send for SubscribeTracks
impl Sync for SubscribeTracks
impl Unpin for SubscribeTracks
impl UnsafeUnpin for SubscribeTracks
impl UnwindSafe for SubscribeTracks
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