mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2026-03-03 23:20:53 +01:00
Remove unused code
This commit is contained in:
@@ -3,16 +3,6 @@ use serde::Deserialize;
|
||||
use crate::config;
|
||||
|
||||
|
||||
#[derive(Deserialize, Debug, PartialEq, Clone, Copy)]
|
||||
pub enum BotStatus {
|
||||
#[serde(rename = "pending")]
|
||||
Pending,
|
||||
#[serde(rename = "approved")]
|
||||
Approved,
|
||||
#[serde(rename = "blocked")]
|
||||
Blocked,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Debug, PartialEq, Clone, Copy)]
|
||||
pub enum BotCache {
|
||||
#[serde(rename = "original")]
|
||||
@@ -25,7 +15,6 @@ pub enum BotCache {
|
||||
pub struct BotData {
|
||||
pub id: u32,
|
||||
pub token: String,
|
||||
pub status: BotStatus,
|
||||
pub cache: BotCache,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user