pub struct SubscribeOk {
pub id: u64,
pub expires: Option<u64>,
pub group_order: GroupOrder,
pub latest: Option<(u64, u64)>,
}
Expand description
Sent by the publisher to accept a Subscribe.
Fields§
§id: u64
The ID for this subscription.
expires: Option<u64>
The subscription will expire in this many milliseconds.
group_order: GroupOrder
§latest: Option<(u64, u64)>
The latest group and object for the track.
Trait Implementations§
Source§impl Clone for SubscribeOk
impl Clone for SubscribeOk
Source§fn clone(&self) -> SubscribeOk
fn clone(&self) -> SubscribeOk
Returns a copy 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 SubscribeOk
impl Debug for SubscribeOk
Source§impl Decode for SubscribeOk
impl Decode for SubscribeOk
Source§impl Encode for SubscribeOk
impl Encode for SubscribeOk
Source§impl From<SubscribeOk> for Message
impl From<SubscribeOk> for Message
Source§fn from(m: SubscribeOk) -> Self
fn from(m: SubscribeOk) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeOk> for Publisher
impl From<SubscribeOk> for Publisher
Source§fn from(msg: SubscribeOk) -> Self
fn from(msg: SubscribeOk) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SubscribeOk
impl RefUnwindSafe for SubscribeOk
impl Send for SubscribeOk
impl Sync for SubscribeOk
impl Unpin for SubscribeOk
impl UnwindSafe for SubscribeOk
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