pub enum ProductPurchaseErrorCode {
InvalidQuantity,
ProductUnavailable,
PurchaseNotAllowed,
IneligibleForOffer,
InvalidOfferIdentifier,
InvalidOfferPrice,
InvalidOfferSignature,
MissingOfferParameters,
Other(String),
}Expand description
Wraps the code space of StoreKit.Product.PurchaseError.
Variants§
InvalidQuantity
Represents the InvalidQuantity StoreKit case.
Represents the ProductUnavailable StoreKit case.
PurchaseNotAllowed
Represents the PurchaseNotAllowed StoreKit case.
IneligibleForOffer
Represents the IneligibleForOffer StoreKit case.
InvalidOfferIdentifier
Represents the InvalidOfferIdentifier StoreKit case.
InvalidOfferPrice
Represents the InvalidOfferPrice StoreKit case.
InvalidOfferSignature
Represents the InvalidOfferSignature StoreKit case.
MissingOfferParameters
Represents the MissingOfferParameters StoreKit case.
Other(String)
Represents the other StoreKit case.
Implementations§
Trait Implementations§
Source§impl Clone for ProductPurchaseErrorCode
impl Clone for ProductPurchaseErrorCode
Source§impl Debug for ProductPurchaseErrorCode
impl Debug for ProductPurchaseErrorCode
impl Eq for ProductPurchaseErrorCode
Source§impl PartialEq for ProductPurchaseErrorCode
impl PartialEq for ProductPurchaseErrorCode
impl StructuralPartialEq for ProductPurchaseErrorCode
Auto Trait Implementations§
impl Forget for ProductPurchaseErrorCode
impl Freeze for ProductPurchaseErrorCode
impl Move for ProductPurchaseErrorCode
impl RefUnwindSafe for ProductPurchaseErrorCode
impl Send for ProductPurchaseErrorCodewhere
RawVecInner: Send,
impl Sync for ProductPurchaseErrorCodewhere
RawVecInner: Sync,
impl Unpin for ProductPurchaseErrorCode
impl UnsafeUnpin for ProductPurchaseErrorCode
impl UnwindSafe for ProductPurchaseErrorCodewhere
RawVecInner: UnwindSafe,
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