Derive PartialEq and Eq to use assertEq in tests

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