Derive PartialEq and Eq to use assertEq in tests

This commit is contained in:
bitfl0wer 2023-04-15 13:54:57 +02:00
parent b758246b12
commit ce075524c8
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, Copy, Debug)] #[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct Limit { pub struct Limit {
pub bucket: LimitType, pub bucket: LimitType,
pub limit: u64, pub limit: u64,