pub struct Subscribe {
pub request_id: VarInt,
pub track_namespace: TrackNamespace,
pub track_name: Vec<u8>,
pub subscriber_priority: u8,
pub group_order: GroupOrder,
pub forward: Forward,
pub filter_type: FilterType,
pub start_location: Option<Location>,
pub end_group: Option<VarInt>,
pub parameters: Vec<KeyValuePair>,
}Expand description
SUBSCRIBE message (type 0x03).
Fields§
§request_id: VarIntThe request ID for this subscription.
track_namespace: TrackNamespaceThe track namespace.
track_name: Vec<u8>The track name within the namespace.
subscriber_priority: u8Subscriber priority for this track.
group_order: GroupOrderRequested group delivery order.
forward: ForwardWhether to forward data on this subscription.
filter_type: FilterTypeThe filter type controlling which objects are delivered.
start_location: Option<Location>Present only for AbsoluteStart and AbsoluteRange filter types.
end_group: Option<VarInt>Present only for AbsoluteRange filter type.
parameters: Vec<KeyValuePair>Subscribe parameters.
Trait Implementations§
impl Eq for Subscribe
impl StructuralPartialEq for Subscribe
Auto Trait Implementations§
impl Freeze for Subscribe
impl RefUnwindSafe for Subscribe
impl Send for Subscribe
impl Sync for Subscribe
impl Unpin for Subscribe
impl UnsafeUnpin for Subscribe
impl UnwindSafe for Subscribe
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