Struct google_admin1_directory::Token[][src]

pub struct Token {
    pub scopes: Option<Vec<String>>,
    pub kind: Option<String>,
    pub client_id: Option<String>,
    pub native_app: Option<bool>,
    pub display_text: Option<String>,
    pub etag: Option<String>,
    pub anonymous: Option<bool>,
    pub user_key: Option<String>,
}

JSON template for token resource in Directory API.

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

A list of authorization scopes the application is granted.

The type of the API resource. This is always admin#directory#token.

The Client ID of the application the token is issued to.

Whether the token is issued to an installed application. The value is true if the application is installed to a desktop or mobile device.

The displayable name of the application the token is issued to.

ETag of the resource.

Whether the application is registered with Google. The value is true if the application has an anonymous Client ID.

The unique ID of the user that issued the token.

Trait Implementations

impl Default for Token
[src]

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

impl Clone for Token
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Token
[src]

Formats the value using the given formatter. Read more

impl Resource for Token
[src]

impl ResponseResult for Token
[src]

Auto Trait Implementations

impl Send for Token

impl Sync for Token