From d112669b63df1e926565128f4b31b60596500b27 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sat, 12 Oct 2024 23:26:31 +0200 Subject: [PATCH] feat: add more entitlement types --- src/entitlements.rs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/entitlements.rs b/src/entitlements.rs index 4db3871..ef9916b 100644 --- a/src/entitlements.rs +++ b/src/entitlements.rs @@ -4,3 +4,24 @@ manual_braid! { pub struct EntitlementIdRef; } impl_extra!(EntitlementId, EntitlementIdRef); + +manual_braid! { + /// A benefit ID + pub struct BenefitId; + pub struct BenefitIdRef; +} +impl_extra!(BenefitId, BenefitIdRef); + +manual_braid! { + /// An organization ID + pub struct OrganizationId; + pub struct OrganizationIdRef; +} +impl_extra!(OrganizationId, OrganizationIdRef); + +manual_braid! { + /// An entitlement campaign ID + pub struct EntitlementCampaignId; + pub struct EntitlementCampaignIdRef; +} +impl_extra!(EntitlementCampaignId, EntitlementCampaignIdRef);