pub enum ExternalPurchaseNoticeResult {
Continued,
Cancelled,
ContinuedWithExternalPurchaseToken {
token: String,
},
Unknown(String),
}Expand description
Represents the result returned by the StoreKit external purchase notice sheet.
Variants§
Continued
The StoreKit flow continued.
Cancelled
The person cancelled the StoreKit flow.
ContinuedWithExternalPurchaseToken
The notice continued and StoreKit returned an external purchase token.
Unknown(String)
Preserves an unrecognized StoreKit case.
Implementations§
Trait Implementations§
Source§impl Clone for ExternalPurchaseNoticeResult
impl Clone for ExternalPurchaseNoticeResult
Source§fn clone(&self) -> ExternalPurchaseNoticeResult
fn clone(&self) -> ExternalPurchaseNoticeResult
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 ExternalPurchaseNoticeResult
impl Debug for ExternalPurchaseNoticeResult
Source§impl PartialEq for ExternalPurchaseNoticeResult
impl PartialEq for ExternalPurchaseNoticeResult
Source§fn eq(&self, other: &ExternalPurchaseNoticeResult) -> bool
fn eq(&self, other: &ExternalPurchaseNoticeResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExternalPurchaseNoticeResult
impl StructuralPartialEq for ExternalPurchaseNoticeResult
Auto Trait Implementations§
impl Freeze for ExternalPurchaseNoticeResult
impl RefUnwindSafe for ExternalPurchaseNoticeResult
impl Send for ExternalPurchaseNoticeResult
impl Sync for ExternalPurchaseNoticeResult
impl Unpin for ExternalPurchaseNoticeResult
impl UnsafeUnpin for ExternalPurchaseNoticeResult
impl UnwindSafe for ExternalPurchaseNoticeResult
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