From bc2397a32ceeda84bfe19dd0d4861aa605e4bc10 Mon Sep 17 00:00:00 2001 From: Akulij Date: Sat, 31 May 2025 10:29:03 +0500 Subject: [PATCH] derive Clone for BotInstance --- src/db/bots.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/bots.rs b/src/db/bots.rs index 44bc500..6f8f097 100644 --- a/src/db/bots.rs +++ b/src/db/bots.rs @@ -11,7 +11,7 @@ use crate::db::GetCollection; use crate::query_call_consume; use crate::CallDB; -#[derive(Serialize, Deserialize, Default)] +#[derive(Serialize, Deserialize, Default, Clone)] pub struct BotInstance { pub _id: bson::oid::ObjectId, pub name: String,