pub struct SubscribeNamespace {
pub request_id: VarInt,
pub namespace_prefix: TrackNamespace,
pub parameters: Vec<KeyValuePair>,
}Expand description
SUBSCRIBE_NAMESPACE (0x50). Subscribes to NAMESPACE / NAMESPACE_DONE
advertisements for namespaces matching namespace_prefix. The
subscribe_options byte from draft-17 is removed; namespace subscriptions
only produce NAMESPACE / NAMESPACE_DONE.
Fields§
§request_id: VarInt§namespace_prefix: TrackNamespace§parameters: Vec<KeyValuePair>Trait Implementations§
Source§impl Clone for SubscribeNamespace
impl Clone for SubscribeNamespace
Source§fn clone(&self) -> SubscribeNamespace
fn clone(&self) -> SubscribeNamespace
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 SubscribeNamespace
impl Debug for SubscribeNamespace
Source§impl PartialEq for SubscribeNamespace
impl PartialEq for SubscribeNamespace
Source§fn eq(&self, other: &SubscribeNamespace) -> bool
fn eq(&self, other: &SubscribeNamespace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SubscribeNamespace
impl StructuralPartialEq for SubscribeNamespace
Auto Trait Implementations§
impl Freeze for SubscribeNamespace
impl RefUnwindSafe for SubscribeNamespace
impl Send for SubscribeNamespace
impl Sync for SubscribeNamespace
impl Unpin for SubscribeNamespace
impl UnsafeUnpin for SubscribeNamespace
impl UnwindSafe for SubscribeNamespace
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