pub struct About {Show 13 fields
pub app_installed: Option<bool>,
pub can_create_drives: Option<bool>,
pub can_create_team_drives: Option<bool>,
pub drive_themes: Option<Vec<AboutDriveThemes>>,
pub export_formats: Option<HashMap<String, Vec<String>>>,
pub folder_color_palette: Option<Vec<String>>,
pub import_formats: Option<HashMap<String, Vec<String>>>,
pub kind: Option<String>,
pub max_import_sizes: Option<HashMap<String, i64>>,
pub max_upload_size: Option<i64>,
pub storage_quota: Option<AboutStorageQuota>,
pub team_drive_themes: Option<Vec<AboutTeamDriveThemes>>,
pub user: Option<User>,
}
Expand description
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).
- get about (response)
Fields§
§app_installed: Option<bool>
Whether the user has installed the requesting app.
can_create_drives: Option<bool>
Whether the user can create shared drives.
can_create_team_drives: Option<bool>
Deprecated: Use canCreateDrives
instead.
drive_themes: Option<Vec<AboutDriveThemes>>
A list of themes that are supported for shared drives.
export_formats: Option<HashMap<String, Vec<String>>>
A map of source MIME type to possible targets for all supported exports.
folder_color_palette: Option<Vec<String>>
The currently supported folder colors as RGB hex strings.
import_formats: Option<HashMap<String, Vec<String>>>
A map of source MIME type to possible targets for all supported imports.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "drive#about"
.
max_import_sizes: Option<HashMap<String, i64>>
A map of maximum import sizes by MIME type, in bytes.
max_upload_size: Option<i64>
The maximum upload size in bytes.
storage_quota: Option<AboutStorageQuota>
The user’s storage quota limits and usage. For users that are part of an organization with pooled storage, information about the limit and usage across all services is for the organization, rather than the individual user. All fields are measured in bytes.
team_drive_themes: Option<Vec<AboutTeamDriveThemes>>
Deprecated: Use driveThemes
instead.
user: Option<User>
The authenticated user.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for About
impl<'de> Deserialize<'de> for About
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl ResponseResult for About
Auto Trait Implementations§
impl Freeze for About
impl RefUnwindSafe for About
impl Send for About
impl Sync for About
impl Unpin for About
impl UnwindSafe for About
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more