panda 0.5.3

An async Rust library for Discord
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::models::gateway::payload::Opcode;
use serde::Serialize;

#[derive(Debug, Serialize, PartialEq)]
pub(crate) struct Resume {
    pub(crate) op: Opcode,
    pub(crate) d: ResumeContent,
}

#[derive(Debug, Serialize, PartialEq)]
pub(crate) struct ResumeContent {
    pub(crate) token: String,
    pub(crate) session_id: String,
    pub(crate) seq: Option<u64>,
}