pub struct TrackStatus {
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_group: Option<VarInt>,
pub start_object: Option<VarInt>,
pub end_group: Option<VarInt>,
pub parameters: Vec<KeyValuePair>,
}Expand description
TRACK_STATUS message (type 0x0D). Draft-13: subscribe-like request.
“The TRACK_STATUS message format is identical to the SUBSCRIBE message”, so the fields below are the SUBSCRIBE fields and nothing else — including the two that only some filters put on the wire. Draft-12 had no such message and draft-13’s changelog records the change, which is why this shape does not look like the draft-12 TRACK_STATUS_REQUEST it replaced.
Fields§
§request_id: VarInt§track_namespace: TrackNamespace§track_name: Vec<u8>§subscriber_priority: u8§group_order: GroupOrder§forward: Forward§filter_type: FilterType§start_group: Option<VarInt>Present only for the AbsoluteStart and AbsoluteRange filter types.
start_object: Option<VarInt>Present only for the AbsoluteStart and AbsoluteRange filter types.
end_group: Option<VarInt>Present only for the AbsoluteRange filter type.
parameters: Vec<KeyValuePair>Trait Implementations§
Source§impl Clone for TrackStatus
impl Clone for TrackStatus
Source§fn clone(&self) -> TrackStatus
fn clone(&self) -> TrackStatus
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 TrackStatus
impl Debug for TrackStatus
impl Eq for TrackStatus
Source§impl PartialEq for TrackStatus
impl PartialEq for TrackStatus
impl StructuralPartialEq for TrackStatus
Auto Trait Implementations§
impl Freeze for TrackStatus
impl RefUnwindSafe for TrackStatus
impl Send for TrackStatus
impl Sync for TrackStatus
impl Unpin for TrackStatus
impl UnsafeUnpin for TrackStatus
impl UnwindSafe for TrackStatus
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