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