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
//! Guild related models

use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, Deserialize, PartialEq, Serialize)]
pub struct Role {
    pub id: String,
    pub name: String,
    pub color: u64, // maybe create type
    pub hoist: bool,
    pub position: u64,
    pub permissions: u64,
    pub managed: bool,
    pub mentionable: bool,
}