pub struct PairPayload {
pub token: String,
pub protocol_version: &'static str,
pub expires_in_secs: u64,
}Expand description
Pairing response payload.
Fields§
§token: StringIn-memory token used on subsequent messages.
protocol_version: &'static strProtocol version negotiated by the server.
expires_in_secs: u64Seconds until the session inactivity lease expires.
Trait Implementations§
Source§impl Clone for PairPayload
impl Clone for PairPayload
Source§fn clone(&self) -> PairPayload
fn clone(&self) -> PairPayload
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 PairPayload
impl Debug for PairPayload
Auto Trait Implementations§
impl Freeze for PairPayload
impl RefUnwindSafe for PairPayload
impl Send for PairPayload
impl Sync for PairPayload
impl Unpin for PairPayload
impl UnsafeUnpin for PairPayload
impl UnwindSafe for PairPayload
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