pub enum RevocationReason {
DeveloperIssue,
Other,
Unknown(String),
}Expand description
Wraps StoreKit.Transaction.RevocationReason.
Variants§
DeveloperIssue
Represents the DeveloperIssue StoreKit case.
Other
Represents the other StoreKit case.
Unknown(String)
Preserves an unrecognized StoreKit case.
Implementations§
Source§impl RevocationReason
impl RevocationReason
Sourcepub fn localized_description(&self) -> Result<String, StoreKitError>
pub fn localized_description(&self) -> Result<String, StoreKitError>
Returns the localized StoreKit description for this revocation reason.
Trait Implementations§
Source§impl Clone for RevocationReason
impl Clone for RevocationReason
Source§impl Debug for RevocationReason
impl Debug for RevocationReason
impl Eq for RevocationReason
Source§impl PartialEq for RevocationReason
impl PartialEq for RevocationReason
impl StructuralPartialEq for RevocationReason
Auto Trait Implementations§
impl Forget for RevocationReason
impl Freeze for RevocationReason
impl Move for RevocationReason
impl RefUnwindSafe for RevocationReason
impl Send for RevocationReasonwhere
RawVecInner: Send,
impl Sync for RevocationReasonwhere
RawVecInner: Sync,
impl Unpin for RevocationReason
impl UnsafeUnpin for RevocationReason
impl UnwindSafe for RevocationReasonwhere
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