pub struct TransactionOffer {
pub id: Option<String>,
pub offer_type: OfferType,
pub payment_mode: Option<OfferPaymentMode>,
pub period: Option<SubscriptionPeriod>,
}Expand description
Carries offer metadata attached to StoreKit.Transaction.
Fields§
§id: Option<String>StoreKit identifier for this value.
offer_type: OfferTypeOffer type reported by StoreKit.
payment_mode: Option<OfferPaymentMode>Payment mode reported by StoreKit.
period: Option<SubscriptionPeriod>Subscription period reported by StoreKit.
Trait Implementations§
Source§impl Clone for TransactionOffer
impl Clone for TransactionOffer
Source§impl Debug for TransactionOffer
impl Debug for TransactionOffer
impl Eq for TransactionOffer
Source§impl PartialEq for TransactionOffer
impl PartialEq for TransactionOffer
impl StructuralPartialEq for TransactionOffer
Auto Trait Implementations§
impl Forget for TransactionOffer
impl Freeze for TransactionOffer
impl Move for TransactionOffer
impl RefUnwindSafe for TransactionOffer
impl Send for TransactionOfferwhere
RawVecInner: Send,
impl Sync for TransactionOfferwhere
RawVecInner: Sync,
impl Unpin for TransactionOffer
impl UnsafeUnpin for TransactionOffer
impl UnwindSafe for TransactionOfferwhere
RawVecInner: UnwindSafe,
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