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]
impl Default for Entitlement
fn default() -> Entitlement
[src]
fn default() -> Entitlement
Returns the "default value" for a type. Read more
impl Clone for Entitlement
[src]
impl Clone for Entitlement
fn clone(&self) -> Entitlement
[src]
fn clone(&self) -> Entitlement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Entitlement
[src]
impl Debug for Entitlement
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Resource for Entitlement
[src]
impl Resource for Entitlement
Auto Trait Implementations
impl Send for Entitlement
impl Send for Entitlement
impl Sync for Entitlement
impl Sync for Entitlement