Struct twilight_gateway::shard::ResumeSession
source · pub struct ResumeSession {
pub resume_url: Option<String>,
pub session_id: String,
pub sequence: u64,
}
Expand description
Details to resume a gateway session.
Fields§
§resume_url: Option<String>
URL used to resume
session_id: String
ID of the session being resumed.
sequence: u64
Last received event sequence number.
Trait Implementations§
source§impl Clone for ResumeSession
impl Clone for ResumeSession
source§fn clone(&self) -> ResumeSession
fn clone(&self) -> ResumeSession
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 ResumeSession
impl Debug for ResumeSession
source§impl<'de> Deserialize<'de> for ResumeSession
impl<'de> Deserialize<'de> for ResumeSession
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