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).

Fields

This kind represents an entitlement object in the androidpublisher service.

The token which can be verified using the subscriptions or products API.

The type of the inapp product. Possible values are:
- In-app item: "inapp" - Subscription: "subs"

The SKU of the product.

Trait Implementations

impl Default for Entitlement
[src]

Returns the "default value" for a type. Read more

impl Clone for Entitlement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Entitlement
[src]

Formats the value using the given formatter.

impl Resource for Entitlement
[src]