disruption_types 0.2.0

Types for communicating with the Discord API and gateway
Documentation
1
2
3
4
5
6
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct HelloPayloadData {
    pub heartbeat_interval: u128,
}