pub enum BillingPlanType {
Monthly,
UpFront,
Unknown(String),
}Expand description
Wraps StoreKit.Product.SubscriptionInfo.BillingPlanType.
Variants§
Monthly
Represents the Monthly StoreKit case.
UpFront
Represents the UpFront StoreKit case.
Unknown(String)
Preserves an unrecognized StoreKit case.
Implementations§
Trait Implementations§
Source§impl Clone for BillingPlanType
impl Clone for BillingPlanType
Source§fn clone(&self) -> BillingPlanType
fn clone(&self) -> BillingPlanType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BillingPlanType
impl Debug for BillingPlanType
Source§impl PartialEq for BillingPlanType
impl PartialEq for BillingPlanType
Source§fn eq(&self, other: &BillingPlanType) -> bool
fn eq(&self, other: &BillingPlanType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BillingPlanType
impl Serialize for BillingPlanType
impl Eq for BillingPlanType
impl StructuralPartialEq for BillingPlanType
Auto Trait Implementations§
impl Freeze for BillingPlanType
impl RefUnwindSafe for BillingPlanType
impl Send for BillingPlanType
impl Sync for BillingPlanType
impl Unpin for BillingPlanType
impl UnsafeUnpin for BillingPlanType
impl UnwindSafe for BillingPlanType
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