#[non_exhaustive]pub enum EntitlementRejectionReason {
BillingRestricted,
BusinessPlanRequired,
CardRequired,
EmailRequired,
PlanChangeScheduled,
SubscriptionNotBillable,
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BillingRestricted
billing_restricted
BusinessPlanRequired
business_plan_required
CardRequired
card_required
EmailRequired
email_required
PlanChangeScheduled
plan_change_scheduled
SubscriptionNotBillable
subscription_not_billable
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for EntitlementRejectionReason
impl Clone for EntitlementRejectionReason
Source§impl Debug for EntitlementRejectionReason
impl Debug for EntitlementRejectionReason
Source§impl<'de> Deserialize<'de> for EntitlementRejectionReason
impl<'de> Deserialize<'de> for EntitlementRejectionReason
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EntitlementRejectionReason
impl Display for EntitlementRejectionReason
impl Eq for EntitlementRejectionReason
impl StructuralPartialEq for EntitlementRejectionReason
Auto Trait Implementations§
impl Freeze for EntitlementRejectionReason
impl RefUnwindSafe for EntitlementRejectionReason
impl Send for EntitlementRejectionReason
impl Sync for EntitlementRejectionReason
impl Unpin for EntitlementRejectionReason
impl UnsafeUnpin for EntitlementRejectionReason
impl UnwindSafe for EntitlementRejectionReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more