[][src]Struct google_drive2::About

pub struct About {
    pub language_code: Option<String>,
    pub quota_bytes_by_service: Option<Vec<AboutQuotaBytesByService>>,
    pub features: Option<Vec<AboutFeatures>>,
    pub quota_bytes_used: Option<String>,
    pub kind: Option<String>,
    pub additional_role_info: Option<Vec<AboutAdditionalRoleInfo>>,
    pub folder_color_palette: Option<Vec<String>>,
    pub user: Option<User>,
    pub quota_type: Option<String>,
    pub quota_bytes_used_aggregate: Option<String>,
    pub max_upload_sizes: Option<Vec<AboutMaxUploadSizes>>,
    pub drive_themes: Option<Vec<AboutDriveThemes>>,
    pub permission_id: Option<String>,
    pub name: Option<String>,
    pub team_drive_themes: Option<Vec<AboutTeamDriveThemes>>,
    pub quota_bytes_total: Option<String>,
    pub remaining_change_ids: Option<String>,
    pub etag: Option<String>,
    pub import_formats: Option<Vec<AboutImportFormats>>,
    pub can_create_team_drives: Option<bool>,
    pub can_create_drives: Option<bool>,
    pub root_folder_id: Option<String>,
    pub largest_change_id: Option<String>,
    pub quota_bytes_used_in_trash: Option<String>,
    pub export_formats: Option<Vec<AboutExportFormats>>,
    pub domain_sharing_policy: Option<String>,
    pub self_link: Option<String>,
    pub is_current_app_installed: Option<bool>,
}

An item with user information and settings.

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

language_code: Option<String>

The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).

quota_bytes_by_service: Option<Vec<AboutQuotaBytesByService>>

The amount of storage quota used by different Google services.

features: Option<Vec<AboutFeatures>>

List of additional features enabled on this account.

quota_bytes_used: Option<String>

The number of quota bytes used by Google Drive.

kind: Option<String>

This is always drive#about.

additional_role_info: Option<Vec<AboutAdditionalRoleInfo>>

Information about supported additional roles per file type. The most specific type takes precedence.

folder_color_palette: Option<Vec<String>>

The palette of allowable folder colors as RGB hex strings.

user: Option<User>

The authenticated user.

quota_type: Option<String>

The type of the user's storage quota. Possible values are:

  • LIMITED
  • UNLIMITED
quota_bytes_used_aggregate: Option<String>

The number of quota bytes used by all Google apps (Drive, Picasa, etc.).

max_upload_sizes: Option<Vec<AboutMaxUploadSizes>>

List of max upload sizes for each file type. The most specific type takes precedence.

drive_themes: Option<Vec<AboutDriveThemes>>

A list of themes that are supported for shared drives.

permission_id: Option<String>

The current user's ID as visible in the permissions collection.

name: Option<String>

The name of the current user.

team_drive_themes: Option<Vec<AboutTeamDriveThemes>>

Deprecated - use driveThemes instead.

quota_bytes_total: Option<String>

The total number of quota bytes. This is only relevant when quotaType is LIMITED.

remaining_change_ids: Option<String>

The number of remaining change ids, limited to no more than 2500.

etag: Option<String>

The ETag of the item.

import_formats: Option<Vec<AboutImportFormats>>

The allowable import formats.

can_create_team_drives: Option<bool>

Deprecated - use canCreateDrives instead.

can_create_drives: Option<bool>

Whether the user can create shared drives.

root_folder_id: Option<String>

The id of the root folder.

largest_change_id: Option<String>

The largest change id.

quota_bytes_used_in_trash: Option<String>

The number of quota bytes used by trashed items.

export_formats: Option<Vec<AboutExportFormats>>

The allowable export formats.

domain_sharing_policy: Option<String>

The domain sharing policy for the current user. Possible values are:

  • allowed
  • allowedWithWarning
  • incomingOnly
  • disallowed
self_link: Option<String>

A link back to this item.

is_current_app_installed: Option<bool>

A boolean indicating whether the authenticated app is installed by the authenticated user.

Trait Implementations

impl Clone for About[src]

impl Debug for About[src]

impl Default for About[src]

impl<'de> Deserialize<'de> for About[src]

impl ResponseResult for About[src]

impl Serialize for About[src]

Auto Trait Implementations

impl RefUnwindSafe for About

impl Send for About

impl Sync for About

impl Unpin for About

impl UnwindSafe for About

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any