pub enum GoogleSheetsAPIv4 {
AuthDrive,
AuthDriveFile,
AuthDriveReadOnly,
AuthspReadsheets,
AuthspReadsheetsReadOnly,
}Expand description
Google Sheets API, v4
Variants§
AuthDrive
Documentation: See, edit, create, and delete all of your Google Drive files, Scope: https://www.googleapis.com/auth/drive
AuthDriveFile
Documentation: See, edit, create, and delete only the specific Google Drive files you use with this app, Scope: https://www.googleapis.com/auth/drive.file
AuthDriveReadOnly
Documentation: See and download all your Google Drive files, Scope: https://www.googleapis.com/auth/drive.readonly
AuthspReadsheets
Documentation: See, edit, create, and delete all your Google Sheets spreadsheets, Scope: https://www.googleapis.com/auth/spreadsheets
AuthspReadsheetsReadOnly
Documentation: See all your Google Sheets spreadsheets, Scope: https://www.googleapis.com/auth/spreadsheets.readonly
Trait Implementations§
Source§impl Clone for GoogleSheetsAPIv4
impl Clone for GoogleSheetsAPIv4
Source§fn clone(&self) -> GoogleSheetsAPIv4
fn clone(&self) -> GoogleSheetsAPIv4
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoogleSheetsAPIv4
impl Debug for GoogleSheetsAPIv4
Source§impl FromGoogleScope<GoogleSheetsAPIv4> for GoogleSheetsAPIv4
impl FromGoogleScope<GoogleSheetsAPIv4> for GoogleSheetsAPIv4
Source§fn from_google_scope(google_scope: &str) -> Result<GoogleSheetsAPIv4, ()>
fn from_google_scope(google_scope: &str) -> Result<GoogleSheetsAPIv4, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for GoogleSheetsAPIv4
impl Hash for GoogleSheetsAPIv4
Source§impl PartialEq for GoogleSheetsAPIv4
impl PartialEq for GoogleSheetsAPIv4
Source§impl ToGoogleScope for GoogleSheetsAPIv4
impl ToGoogleScope for GoogleSheetsAPIv4
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for GoogleSheetsAPIv4
impl Eq for GoogleSheetsAPIv4
impl StructuralPartialEq for GoogleSheetsAPIv4
Auto Trait Implementations§
impl Freeze for GoogleSheetsAPIv4
impl RefUnwindSafe for GoogleSheetsAPIv4
impl Send for GoogleSheetsAPIv4
impl Sync for GoogleSheetsAPIv4
impl Unpin for GoogleSheetsAPIv4
impl UnwindSafe for GoogleSheetsAPIv4
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more