pub struct Subscribe {
pub id: u64,
pub track_alias: u64,
pub track_namespace: String,
pub track_name: String,
pub subscriber_priority: u8,
pub group_order: GroupOrder,
pub filter_type: FilterType,
pub start: Option<SubscribePair>,
pub end: Option<SubscribePair>,
pub params: Params,
}
Expand description
Sent by the subscriber to request all future objects for the given track.
Objects will use the provided ID instead of the full track name, to save bytes.
Fields§
§id: u64
The subscription ID
track_alias: u64
Track properties
track_namespace: String
§track_name: String
§subscriber_priority: u8
§group_order: GroupOrder
§filter_type: FilterType
Filter type
start: Option<SubscribePair>
The start/end group/object. (TODO: Make optional)
end: Option<SubscribePair>
§params: Params
Optional parameters
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subscribe
impl RefUnwindSafe for Subscribe
impl Send for Subscribe
impl Sync for Subscribe
impl Unpin 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