Struct google_drive_client::DriveFile[][src]

pub struct DriveFile {
Show fields pub kind: Option<String>, pub id: Option<String>, pub name: Option<String>, pub mime_type: Option<String>, pub description: Option<String>, pub starred: Option<bool>, pub trashed: Option<bool>, pub explicitly_trashed: Option<bool>, pub parents: Option<Vec<String>>, pub properties: Option<Map<String, Value>>, pub app_properties: Option<Map<String, Value>>, pub spaces: Option<Vec<String>>, pub version: Option<isize>, pub web_content_link: Option<String>, pub web_view_link: Option<String>, pub icon_link: Option<String>, pub thumbnail_link: Option<String>, pub viewed_by_me: Option<bool>, pub viewed_by_me_time: Option<String>, pub created_time: Option<String>, pub modified_time: Option<String>, pub modified_by_me_time: Option<String>, pub shared_with_me_time: Option<String>, pub sharing_user: Option<DriveUser>, pub owners: Option<Vec<DriveUser>>, pub last_modifying_user: Option<DriveUser>, pub shared: Option<bool>, pub owned_by_me: Option<bool>, pub viewers_can_copy_content: Option<bool>, pub writers_can_share: Option<bool>, pub permissions: Option<Vec<DrivePermission>>, pub folder_color_rgb: Option<String>, pub original_filename: Option<String>, pub full_file_extension: Option<String>, pub file_extension: Option<String>, pub md5_checksum: Option<String>, pub size: Option<isize>, pub quota_bytes_used: Option<isize>, pub head_revision_id: Option<String>, pub content_hints: Option<DriveContentHints>, pub image_media_metadata: Option<DriveImageMediaMetadata>, pub video_media_metadata: Option<DriveVideoMediaMetadata>, pub capabilities: Option<DriveCapabilities>, pub is_app_authorized: Option<bool>, pub has_thumbnail: Option<bool>, pub thumbnail_version: Option<isize>, pub modified_by_me: Option<bool>, pub trashing_user: Option<DriveUser>, pub trashed_time: Option<String>, pub team_drive_id: Option<String>, pub has_augmented_permissions: Option<bool>, pub permission_ids: Option<Vec<String>>, pub export_links: Option<Map<String, Value>>, pub drive_id: Option<String>,
}

Fields

kind: Option<String>id: Option<String>name: Option<String>mime_type: Option<String>description: Option<String>starred: Option<bool>trashed: Option<bool>explicitly_trashed: Option<bool>parents: Option<Vec<String>>properties: Option<Map<String, Value>>app_properties: Option<Map<String, Value>>spaces: Option<Vec<String>>version: Option<isize>web_content_link: Option<String>web_view_link: Option<String>icon_link: Option<String>thumbnail_link: Option<String>viewed_by_me: Option<bool>viewed_by_me_time: Option<String>created_time: Option<String>modified_time: Option<String>modified_by_me_time: Option<String>shared_with_me_time: Option<String>sharing_user: Option<DriveUser>owners: Option<Vec<DriveUser>>last_modifying_user: Option<DriveUser>shared: Option<bool>owned_by_me: Option<bool>viewers_can_copy_content: Option<bool>
👎 Deprecated since v3:

use copyRequiresWriterPermission instead.

writers_can_share: Option<bool>permissions: Option<Vec<DrivePermission>>folder_color_rgb: Option<String>original_filename: Option<String>full_file_extension: Option<String>file_extension: Option<String>md5_checksum: Option<String>size: Option<isize>quota_bytes_used: Option<isize>head_revision_id: Option<String>content_hints: Option<DriveContentHints>image_media_metadata: Option<DriveImageMediaMetadata>video_media_metadata: Option<DriveVideoMediaMetadata>capabilities: Option<DriveCapabilities>is_app_authorized: Option<bool>has_thumbnail: Option<bool>thumbnail_version: Option<isize>modified_by_me: Option<bool>trashing_user: Option<DriveUser>trashed_time: Option<String>team_drive_id: Option<String>
👎 Deprecated since v3:

use driveId instead.

has_augmented_permissions: Option<bool>permission_ids: Option<Vec<String>>export_links: Option<Map<String, Value>>drive_id: Option<String>

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

Deserialize this value from the given Serde deserializer. Read more

Returns Ok if a Response could be generated successfully. Otherwise, returns an Err with a failing Status. 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.

Converts self into a collection.

Should always be Self

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.

Get the TypeId of this object.