Skip to content

Commit

Permalink
non_exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Dec 7, 2024
1 parent db3156e commit 8159baa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2264,6 +2264,7 @@ pub struct AffiliateInfo {

#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
#[serde(tag = "type", rename_all = "snake_case")]
#[non_exhaustive]
pub enum TransactionPartner {
User(Box<TransactionPartnerUser>),
AffiliateProgram(TransactionPartnerAffiliateProgram),
Expand Down

0 comments on commit 8159baa

Please sign in to comment.