#[repr(transparent)]pub struct SKProductDiscountPaymentMode(pub NSUInteger);👎Deprecated: Use Product.SubscriptionOffer.PaymentMode
Available on crate feature
SKProductDiscount only.Expand description
Tuple Fields§
§0: NSUInteger👎Deprecated: Use Product.SubscriptionOffer.PaymentMode
Implementations§
Source§impl SKProductDiscountPaymentMode
impl SKProductDiscountPaymentMode
pub const PayAsYouGo: Self
👎Deprecated: Use Product.SubscriptionOffer.PaymentMode
pub const PayUpFront: Self
👎Deprecated: Use Product.SubscriptionOffer.PaymentMode
pub const FreeTrial: Self
👎Deprecated: Use Product.SubscriptionOffer.PaymentMode
Trait Implementations§
Source§impl Clone for SKProductDiscountPaymentMode
impl Clone for SKProductDiscountPaymentMode
Source§fn clone(&self) -> SKProductDiscountPaymentMode
fn clone(&self) -> SKProductDiscountPaymentMode
Returns a duplicate of the value. Read more
1.0.0 · 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 SKProductDiscountPaymentMode
impl Debug for SKProductDiscountPaymentMode
Source§impl Hash for SKProductDiscountPaymentMode
impl Hash for SKProductDiscountPaymentMode
Source§impl Ord for SKProductDiscountPaymentMode
impl Ord for SKProductDiscountPaymentMode
Source§fn cmp(&self, other: &SKProductDiscountPaymentMode) -> Ordering
fn cmp(&self, other: &SKProductDiscountPaymentMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SKProductDiscountPaymentMode
impl PartialEq for SKProductDiscountPaymentMode
Source§fn eq(&self, other: &SKProductDiscountPaymentMode) -> bool
fn eq(&self, other: &SKProductDiscountPaymentMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SKProductDiscountPaymentMode
impl PartialOrd for SKProductDiscountPaymentMode
Source§impl RefEncode for SKProductDiscountPaymentMode
impl RefEncode for SKProductDiscountPaymentMode
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for SKProductDiscountPaymentMode
impl Eq for SKProductDiscountPaymentMode
impl StructuralPartialEq for SKProductDiscountPaymentMode
Auto Trait Implementations§
impl Freeze for SKProductDiscountPaymentMode
impl RefUnwindSafe for SKProductDiscountPaymentMode
impl Send for SKProductDiscountPaymentMode
impl Sync for SKProductDiscountPaymentMode
impl Unpin for SKProductDiscountPaymentMode
impl UnwindSafe for SKProductDiscountPaymentMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.