Struct google_drive::GoogleDrive [−][src]
pub struct GoogleDrive { /* fields omitted */ }Expand description
Entrypoint for interacting with the Google Drive API.
Implementations
Create a new Drive client struct. It takes a type that can convert into
an &str (String or Vec<u8> for example). As long as the function is
given a valid API Key and Secret your requests will work.
Download a file stored on Google Drive by it’s ID.
Get a file’s contents by it’s ID. Only works for Google Docs.
Get a file by it’s name.
Get a folder by it’s name.
Get a drive by it’s name.
Create a folder.
Create or update a file in a drive. If the file already exists, it will update it. If the file does not exist, it will create it.
Delete a file by its name.
Auto Trait Implementations
impl !RefUnwindSafe for GoogleDriveimpl Send for GoogleDriveimpl Sync for GoogleDriveimpl Unpin for GoogleDriveimpl !UnwindSafe for GoogleDrive