Struct twilight_model::gateway::payload::outgoing::resume::ResumeInfo
source · pub struct ResumeInfo {
pub seq: u64,
pub session_id: String,
pub token: String,
}
Fields§
§seq: u64
§session_id: String
§token: String
Implementations§
Trait Implementations§
source§impl Clone for ResumeInfo
impl Clone for ResumeInfo
source§fn clone(&self) -> ResumeInfo
fn clone(&self) -> ResumeInfo
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 ResumeInfo
impl Debug for ResumeInfo
source§impl<'de> Deserialize<'de> for ResumeInfo
impl<'de> Deserialize<'de> for ResumeInfo
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 Hash for ResumeInfo
impl Hash for ResumeInfo
source§impl PartialEq<ResumeInfo> for ResumeInfo
impl PartialEq<ResumeInfo> for ResumeInfo
source§fn eq(&self, other: &ResumeInfo) -> bool
fn eq(&self, other: &ResumeInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ResumeInfo
impl Serialize for ResumeInfo
impl Eq for ResumeInfo
impl StructuralEq for ResumeInfo
impl StructuralPartialEq for ResumeInfo
Auto Trait Implementations§
impl RefUnwindSafe for ResumeInfo
impl Send for ResumeInfo
impl Sync for ResumeInfo
impl Unpin for ResumeInfo
impl UnwindSafe for ResumeInfo
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