Struct google_drive3::api::About
source · [−]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, String>>,
pub max_upload_size: Option<String>,
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, String>>
A map of maximum import sizes by MIME type, in bytes.
max_upload_size: Option<String>
The maximum upload size in bytes.
storage_quota: Option<AboutStorageQuota>
The user’s storage quota limits and usage. All fields are measured in bytes.
team_drive_themes: Option<Vec<AboutTeamDriveThemes>>
Deprecated - use driveThemes instead.
user: Option<User>
The authenticated user.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for About
impl<'de> Deserialize<'de> for About
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
impl ResponseResult for About
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more