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§fn clone(&self) -> RevocationReason
fn clone(&self) -> RevocationReason
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 RevocationReason
impl Debug for RevocationReason
Source§impl PartialEq for RevocationReason
impl PartialEq for RevocationReason
Source§fn eq(&self, other: &RevocationReason) -> bool
fn eq(&self, other: &RevocationReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RevocationReason
impl StructuralPartialEq for RevocationReason
Auto Trait Implementations§
impl Freeze for RevocationReason
impl RefUnwindSafe for RevocationReason
impl Send for RevocationReason
impl Sync for RevocationReason
impl Unpin for RevocationReason
impl UnsafeUnpin for RevocationReason
impl UnwindSafe for RevocationReason
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