diff --git a/crates/teloxide-core/src/adaptors/throttle/request.rs b/crates/teloxide-core/src/adaptors/throttle/request.rs index 47e7d451..26af4bd5 100644 --- a/crates/teloxide-core/src/adaptors/throttle/request.rs +++ b/crates/teloxide-core/src/adaptors/throttle/request.rs @@ -19,6 +19,7 @@ use crate::{ /// Request returned by [`Throttling`](crate::adaptors::Throttle) methods. #[must_use = "Requests are lazy and do nothing unless sent"] +#[derive(Clone)] pub struct ThrottlingRequest { pub(super) request: Arc, pub(super) chat_id: fn(&R::Payload) -> ChatIdHash, diff --git a/crates/teloxide-core/src/adaptors/trace.rs b/crates/teloxide-core/src/adaptors/trace.rs index bf4141bc..46882c6b 100644 --- a/crates/teloxide-core/src/adaptors/trace.rs +++ b/crates/teloxide-core/src/adaptors/trace.rs @@ -243,6 +243,7 @@ where } #[must_use = "Requests are lazy and do nothing unless sent"] +#[derive(Clone)] pub struct TraceRequest { inner: R, settings: Settings,