[][src]Struct google_drive_client::provider::GoogleDriveClient

pub struct GoogleDriveClient {}

Methods

impl GoogleDriveClient[src]

pub fn upload_file(
    self,
    drive_file: DriveFileUpload
) -> Result<FileUploadResponse, GoogleClientError>
[src]

pub fn download_file(
    self,
    file_id: &String
) -> Result<FileDownloadResponse, GoogleClientError>
[src]

pub fn create_folder(
    self,
    drive_folder: DriveFolderUpload
) -> Result<String, GoogleClientError>
[src]

pub fn delete_file_or_folder(
    self,
    file_or_folder_id: &String
) -> Result<(), GoogleClientError>
[src]

pub fn find(
    self,
    search: DriveFileSearch
) -> Result<DriveFileList, GoogleClientError>
[src]

pub fn default() -> GoogleDriveClient[src]

Trait Implementations

impl Clone for GoogleDriveClient[src]

impl Debug for GoogleDriveClient[src]

impl Serialize for GoogleDriveClient[src]

impl<'de> Deserialize<'de> for GoogleDriveClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Typeable for T where
    T: Any

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err