Derive copy trait

This commit is contained in:
bitfl0wer 2023-04-14 22:22:11 +02:00
parent d8dd2010a3
commit 112f44e224
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ pub mod limits {
pub absoluteRate: AbsoluteRate, pub absoluteRate: AbsoluteRate,
} }
#[derive(Clone)] #[derive(Clone, Copy)]
pub struct Limit { pub struct Limit {
pub bucket: LimitType, pub bucket: LimitType,
pub limit: u64, pub limit: u64,