Struct google_drive_client::GoogleDriveClient [−][src]
pub struct GoogleDriveClient { /* fields omitted */ }
Implementations
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]Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GoogleDriveClient
impl Send for GoogleDriveClient
impl Sync for GoogleDriveClient
impl Unpin for GoogleDriveClient
impl UnwindSafe for GoogleDriveClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V