serenity 0.3.0

A Rust library for the Discord API.
Documentation
1
2
3
4
5
6
7
8
9
10
use ::model::{GuildId, UserId};

#[derive(Clone, Debug)]
pub struct ConnectionInfo {
    pub endpoint: String,
    pub guild_id: GuildId,
    pub session_id: String,
    pub token: String,
    pub user_id: UserId,
}