pub enum RevocationType {
FamilyRevocation,
FullRefund,
ProratedRefund,
Unknown(String),
}Expand description
Wraps StoreKit.Transaction.RevocationType.
Variants§
FamilyRevocation
Represents the FamilyRevocation StoreKit case.
FullRefund
Represents the FullRefund StoreKit case.
ProratedRefund
Represents the ProratedRefund StoreKit case.
Unknown(String)
Preserves an unrecognized StoreKit case.
Implementations§
Trait Implementations§
Source§impl Clone for RevocationType
impl Clone for RevocationType
Source§fn clone(&self) -> RevocationType
fn clone(&self) -> RevocationType
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 RevocationType
impl Debug for RevocationType
Source§impl PartialEq for RevocationType
impl PartialEq for RevocationType
Source§fn eq(&self, other: &RevocationType) -> bool
fn eq(&self, other: &RevocationType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RevocationType
impl StructuralPartialEq for RevocationType
Auto Trait Implementations§
impl Freeze for RevocationType
impl RefUnwindSafe for RevocationType
impl Send for RevocationType
impl Sync for RevocationType
impl Unpin for RevocationType
impl UnsafeUnpin for RevocationType
impl UnwindSafe for RevocationType
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