pub struct ResumeSessionPacket {
pub session_id: String,
pub seq: u64,
pub token: String,
}Expand description
A packet used to resume a gateway connection.
Fields§
§session_id: StringThe client’s session ID>
seq: u64The current sequence.
token: StringThe token of the client.
Trait Implementations§
Source§impl Clone for ResumeSessionPacket
impl Clone for ResumeSessionPacket
Source§fn clone(&self) -> ResumeSessionPacket
fn clone(&self) -> ResumeSessionPacket
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 ResumeSessionPacket
impl Debug for ResumeSessionPacket
Source§impl<'de> Deserialize<'de> for ResumeSessionPacket
impl<'de> Deserialize<'de> for ResumeSessionPacket
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl SendablePacket for ResumeSessionPacket
impl SendablePacket for ResumeSessionPacket
Auto Trait Implementations§
impl Freeze for ResumeSessionPacket
impl RefUnwindSafe for ResumeSessionPacket
impl Send for ResumeSessionPacket
impl Sync for ResumeSessionPacket
impl Unpin for ResumeSessionPacket
impl UnwindSafe for ResumeSessionPacket
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