panda 0.5.3

An async Rust library for Discord
Documentation
1
2
3
4
5
6
7
8
use crate::models::gateway::payload::Opcode;
use serde::Serialize;

#[derive(Debug, Serialize, PartialEq)]
pub(crate) struct Heartbeat {
    pub(crate) op: Opcode,
    pub(crate) d: Option<u64>,
}