Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Dec 6, 2024
1 parent 7c56862 commit db3156e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2253,6 +2253,7 @@ pub struct RevenueWithdrawalStateSucceeded {
pub struct RevenueWithdrawalStateFailed {}

#[apply(apistruct!)]
#[derive(Eq)]
pub struct AffiliateInfo {
pub affiliate_user: Option<User>,
pub affiliate_chat: Option<Chat>,
Expand Down Expand Up @@ -2284,6 +2285,7 @@ pub struct TransactionPartnerUser {
}

#[apply(apistruct!)]
#[derive(Eq)]
pub struct TransactionPartnerAffiliateProgram {
pub sponsor_user: User,
pub commission_per_mille: u32,
Expand Down

0 comments on commit db3156e

Please sign in to comment.