Struct google_drive2::api::App[][src]

pub struct App {
Show 24 fields pub authorized: Option<bool>, pub create_in_folder_template: Option<String>, pub create_url: Option<String>, pub has_drive_wide_scope: Option<bool>, pub icons: Option<Vec<AppIcons>>, pub id: Option<String>, pub installed: Option<bool>, pub kind: Option<String>, pub long_description: Option<String>, pub name: Option<String>, pub object_type: Option<String>, pub open_url_template: Option<String>, pub primary_file_extensions: Option<Vec<String>>, pub primary_mime_types: Option<Vec<String>>, pub product_id: Option<String>, pub product_url: Option<String>, pub secondary_file_extensions: Option<Vec<String>>, pub secondary_mime_types: Option<Vec<String>>, pub short_description: Option<String>, pub supports_create: Option<bool>, pub supports_import: Option<bool>, pub supports_multi_open: Option<bool>, pub supports_offline_create: Option<bool>, pub use_by_default: Option<bool>,
}
Expand description

The apps resource provides a list of the apps that a user has installed, with information about each app’s supported MIME types, file extensions, and other details.

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

authorized: Option<bool>

Whether the app is authorized to access data on the user’s Drive.

create_in_folder_template: Option<String>

The template url to create a new file with this app in a given folder. The template will contain {folderId} to be replaced by the folder to create the new file in.

create_url: Option<String>

The url to create a new file with this app.

has_drive_wide_scope: Option<bool>

Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user’s drive.

icons: Option<Vec<AppIcons>>

The various icons for the app.

id: Option<String>

The ID of the app.

installed: Option<bool>

Whether the app is installed.

kind: Option<String>

This is always drive#app.

long_description: Option<String>

A long description of the app.

name: Option<String>

The name of the app.

object_type: Option<String>

The type of object this app creates (e.g. Chart). If empty, the app name should be used instead.

open_url_template: Option<String>

The template url for opening files with this app. The template will contain {ids} and/or {exportIds} to be replaced by the actual file ids. See Open Files for the full documentation.

primary_file_extensions: Option<Vec<String>>

The list of primary file extensions.

primary_mime_types: Option<Vec<String>>

The list of primary mime types.

product_id: Option<String>

The ID of the product listing for this app.

product_url: Option<String>

A link to the product listing for this app.

secondary_file_extensions: Option<Vec<String>>

The list of secondary file extensions.

secondary_mime_types: Option<Vec<String>>

The list of secondary mime types.

short_description: Option<String>

A short description of the app.

supports_create: Option<bool>

Whether this app supports creating new objects.

supports_import: Option<bool>

Whether this app supports importing from Docs Editors.

supports_multi_open: Option<bool>

Whether this app supports opening more than one file.

supports_offline_create: Option<bool>

Whether this app supports creating new files when offline.

use_by_default: Option<bool>

Whether the app is selected as the default handler for the types it supports.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.