From db3156ec4a2f65366dde6a1e93669c0a84c1a4be Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Fri, 6 Dec 2024 16:41:56 +0200 Subject: [PATCH] fix clippy --- src/objects.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/objects.rs b/src/objects.rs index 36a53ef..6dd6c00 100644 --- a/src/objects.rs +++ b/src/objects.rs @@ -2253,6 +2253,7 @@ pub struct RevenueWithdrawalStateSucceeded { pub struct RevenueWithdrawalStateFailed {} #[apply(apistruct!)] +#[derive(Eq)] pub struct AffiliateInfo { pub affiliate_user: Option, pub affiliate_chat: Option, @@ -2284,6 +2285,7 @@ pub struct TransactionPartnerUser { } #[apply(apistruct!)] +#[derive(Eq)] pub struct TransactionPartnerAffiliateProgram { pub sponsor_user: User, pub commission_per_mille: u32,