Struct google_androidpublisher2::Entitlement
[−]
[src]
pub struct Entitlement { pub kind: Option<String>, pub token: Option<String>, pub product_type: Option<String>, pub product_id: Option<String>, }
An Entitlement resource indicates a user's current entitlement to an inapp item or subscription.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list entitlements (none)
Fields
kind: Option<String>
This kind represents an entitlement object in the androidpublisher service.
token: Option<String>
The token which can be verified using the subscriptions or products API.
product_type: Option<String>
The type of the inapp product. Possible values are:
- In-app item: "inapp"
- Subscription: "subs"
product_id: Option<String>
The SKU of the product.
Trait Implementations
impl Default for Entitlement
[src]
fn default() -> Entitlement
Returns the "default value" for a type. Read more
impl Clone for Entitlement
[src]
fn clone(&self) -> Entitlement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more