pub struct TrackStatusOk {
pub request_id: VarInt,
pub track_alias: VarInt,
pub expires: VarInt,
pub group_order: GroupOrder,
pub content_exists: ContentExists,
pub largest_location: Option<Location>,
pub parameters: Vec<KeyValuePair>,
}Expand description
TRACK_STATUS_OK message (type 0x0E) — subscribe_ok-like response.
Fields§
§request_id: VarIntThe request ID this response corresponds to.
track_alias: VarIntTrack alias.
expires: VarIntSubscription expiry in milliseconds.
group_order: GroupOrderGroup order.
content_exists: ContentExistsWhether content exists / largest location is present.
largest_location: Option<Location>The largest location, present when content_exists == HasLargestLocation.
parameters: Vec<KeyValuePair>Response parameters.
Trait Implementations§
Source§impl Clone for TrackStatusOk
impl Clone for TrackStatusOk
Source§fn clone(&self) -> TrackStatusOk
fn clone(&self) -> TrackStatusOk
Returns a duplicate of the value. Read more
1.0.0 · 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 TrackStatusOk
impl Debug for TrackStatusOk
Source§impl PartialEq for TrackStatusOk
impl PartialEq for TrackStatusOk
impl Eq for TrackStatusOk
impl StructuralPartialEq for TrackStatusOk
Auto Trait Implementations§
impl Freeze for TrackStatusOk
impl RefUnwindSafe for TrackStatusOk
impl Send for TrackStatusOk
impl Sync for TrackStatusOk
impl Unpin for TrackStatusOk
impl UnsafeUnpin for TrackStatusOk
impl UnwindSafe for TrackStatusOk
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