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).
- list tokens (none)
- delete tokens (none)
- get tokens (response)
Fields
scopes: Option<Vec<String>>
A list of authorization scopes the application is granted.
kind: Option<String>
The type of the API resource. This is always admin#directory#token.
client_id: Option<String>
The Client ID of the application the token is issued to.
native_app: Option<bool>
Whether the token is issued to an installed application. The value is true if the application is installed to a desktop or mobile device.
display_text: Option<String>
The displayable name of the application the token is issued to.
etag: Option<String>
ETag of the resource.
anonymous: Option<bool>
Whether the application is registered with Google. The value is true if the application has an anonymous Client ID.
user_key: Option<String>
The unique ID of the user that issued the token.
Trait Implementations
impl Default for Token
[src]
impl Clone for Token
[src]
fn clone(&self) -> Token
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more