pub enum AdvancedCommerceReason {
Upgrade,
Downgrade,
ApplyOffer,
NotSupported(String),
}Expand description
The reason for the Advanced Commerce request.
Variants§
Upgrade
Downgrade
ApplyOffer
NotSupported(String)
A value the App Store sent that this version of the library does not support, preserved as received.
Trait Implementations§
Source§impl Clone for AdvancedCommerceReason
impl Clone for AdvancedCommerceReason
Source§fn clone(&self) -> AdvancedCommerceReason
fn clone(&self) -> AdvancedCommerceReason
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 AdvancedCommerceReason
impl Debug for AdvancedCommerceReason
Source§impl<'de> Deserialize<'de> for AdvancedCommerceReason
impl<'de> Deserialize<'de> for AdvancedCommerceReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AdvancedCommerceReason
Source§impl Hash for AdvancedCommerceReason
impl Hash for AdvancedCommerceReason
Source§impl PartialEq for AdvancedCommerceReason
impl PartialEq for AdvancedCommerceReason
Source§impl Serialize for AdvancedCommerceReason
impl Serialize for AdvancedCommerceReason
impl StructuralPartialEq for AdvancedCommerceReason
Auto Trait Implementations§
impl Freeze for AdvancedCommerceReason
impl RefUnwindSafe for AdvancedCommerceReason
impl Send for AdvancedCommerceReason
impl Sync for AdvancedCommerceReason
impl Unpin for AdvancedCommerceReason
impl UnsafeUnpin for AdvancedCommerceReason
impl UnwindSafe for AdvancedCommerceReason
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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