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,