[][src]Struct google_drive3::About

pub struct About {
    pub kind: Option<String>,
    pub export_formats: Option<HashMap<String, Vec<String>>>,
    pub team_drive_themes: Option<Vec<AboutTeamDriveThemes>>,
    pub user: Option<User>,
    pub max_import_sizes: Option<HashMap<String, String>>,
    pub storage_quota: Option<AboutStorageQuota>,
    pub folder_color_palette: Option<Vec<String>>,
    pub drive_themes: Option<Vec<AboutDriveThemes>>,
    pub can_create_drives: Option<bool>,
    pub can_create_team_drives: Option<bool>,
    pub import_formats: Option<HashMap<String, Vec<String>>>,
    pub max_upload_size: Option<String>,
    pub app_installed: Option<bool>,
}

Information about the user, the user's Drive, and system capabilities.

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

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string "drive#about".

export_formats: Option<HashMap<String, Vec<String>>>

A map of source MIME type to possible targets for all supported exports.

team_drive_themes: Option<Vec<AboutTeamDriveThemes>>

Deprecated - use driveThemes instead.

user: Option<User>

The authenticated user.

max_import_sizes: Option<HashMap<String, String>>

A map of maximum import sizes by MIME type, in bytes.

storage_quota: Option<AboutStorageQuota>

The user's storage quota limits and usage. All fields are measured in bytes.

folder_color_palette: Option<Vec<String>>

The currently supported folder colors as RGB hex strings.

drive_themes: Option<Vec<AboutDriveThemes>>

A list of themes that are supported for shared drives.

can_create_drives: Option<bool>

Whether the user can create shared drives.

can_create_team_drives: Option<bool>

Deprecated - use canCreateDrives instead.

import_formats: Option<HashMap<String, Vec<String>>>

A map of source MIME type to possible targets for all supported imports.

max_upload_size: Option<String>

The maximum upload size in bytes.

app_installed: Option<bool>

Whether the user has installed the requesting app.

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