pub enum OwnershipType {
Purchased,
FamilyShared,
Unknown(String),
}Expand description
Wraps StoreKit.Transaction.OwnershipType.
Variants§
Purchased
Represents the Purchased StoreKit case.
Represents the FamilyShared StoreKit case.
Unknown(String)
Preserves an unrecognized StoreKit case.
Implementations§
Source§impl OwnershipType
impl OwnershipType
Sourcepub fn localized_description(&self) -> Result<String, StoreKitError>
pub fn localized_description(&self) -> Result<String, StoreKitError>
Returns the localized StoreKit description for this ownership type.
Trait Implementations§
Source§impl Clone for OwnershipType
impl Clone for OwnershipType
Source§impl Debug for OwnershipType
impl Debug for OwnershipType
impl Eq for OwnershipType
Source§impl PartialEq for OwnershipType
impl PartialEq for OwnershipType
impl StructuralPartialEq for OwnershipType
Auto Trait Implementations§
impl Freeze for OwnershipType
impl RefUnwindSafe for OwnershipType
impl Send for OwnershipType
impl Sync for OwnershipType
impl Unpin for OwnershipType
impl UnsafeUnpin for OwnershipType
impl UnwindSafe for OwnershipType
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