seria 0.0.2-dev.2

A lightweight Revolt client library built for the Rust ecosystem.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::Deserialize;

use crate::models::Id;

/// Represents a public bot.
#[derive(Clone, Debug, Deserialize)]
pub struct PublicBot {
    /// The ID of the bot.
    #[serde(rename = "_id")]
    pub id: Id,
    /// The username of the bot.
    pub username: String,
    /// The avatar of the bot.
    pub avatar: Option<String>,
    /// The description of the bot.
    pub description: Option<String>,

}