From 8159baabfb4c6f59f68e0e3d7bc082d8ac0d6ef8 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Sat, 7 Dec 2024 13:43:10 +0200 Subject: [PATCH] non_exhaustive --- src/objects.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/objects.rs b/src/objects.rs index 6dd6c00..db69e62 100644 --- a/src/objects.rs +++ b/src/objects.rs @@ -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), AffiliateProgram(TransactionPartnerAffiliateProgram),