pub struct OutOfAppPurchaseContext {
pub expired_external_account_identifiers: Option<ExternalAccountIdentifiers>,
pub expired_purchase_token: Option<String>,
}Expand description
Information specific to an out of app purchase.
This type is not used in any activity, and only used as part of another schema.
Fields§
§expired_external_account_identifiers: Option<ExternalAccountIdentifiers>User account identifier from the last expired subscription for this SKU.
expired_purchase_token: Option<String>The purchase token of the last expired subscription. This purchase token must only be used to help identify the user if the link between the purchaseToken and user is stored in your database. This cannot be used to call the Google Developer API if it has been more than 60 days since expiry.
Trait Implementations§
Source§impl Clone for OutOfAppPurchaseContext
impl Clone for OutOfAppPurchaseContext
Source§fn clone(&self) -> OutOfAppPurchaseContext
fn clone(&self) -> OutOfAppPurchaseContext
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 OutOfAppPurchaseContext
impl Debug for OutOfAppPurchaseContext
Source§impl Default for OutOfAppPurchaseContext
impl Default for OutOfAppPurchaseContext
Source§fn default() -> OutOfAppPurchaseContext
fn default() -> OutOfAppPurchaseContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutOfAppPurchaseContext
impl<'de> Deserialize<'de> for OutOfAppPurchaseContext
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
Source§impl Serialize for OutOfAppPurchaseContext
impl Serialize for OutOfAppPurchaseContext
impl Part for OutOfAppPurchaseContext
Auto Trait Implementations§
impl Freeze for OutOfAppPurchaseContext
impl RefUnwindSafe for OutOfAppPurchaseContext
impl Send for OutOfAppPurchaseContext
impl Sync for OutOfAppPurchaseContext
impl Unpin for OutOfAppPurchaseContext
impl UnwindSafe for OutOfAppPurchaseContext
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