Skip to content

Commit

Permalink
feat: add more entitlement types
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Oct 12, 2024
1 parent 7c0d28d commit d112669
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/entitlements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit d112669

Please sign in to comment.