pub enum OwnershipType {
Purchased,
FamilyShared,
Unknown(String),
}Variants§
Implementations§
Source§impl OwnershipType
impl OwnershipType
pub fn localized_description(&self) -> Result<String, StoreKitError>
Trait Implementations§
Source§impl Clone for OwnershipType
impl Clone for OwnershipType
Source§fn clone(&self) -> OwnershipType
fn clone(&self) -> OwnershipType
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 OwnershipType
impl Debug for OwnershipType
Source§impl PartialEq for OwnershipType
impl PartialEq for OwnershipType
Source§fn eq(&self, other: &OwnershipType) -> bool
fn eq(&self, other: &OwnershipType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq 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