Enum google_drive2::Scope
[−]
[src]
pub enum Scope { Full, AppReadonly, PhotoReadonly, Metadata, MetadataReadonly, File, Script, Readonly, Appdata, }
Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.
Variants
Full
View and manage the files in your Google Drive
AppReadonly
View your Google Drive apps
PhotoReadonly
View the photos, videos and albums in your Google Photos
Metadata
View and manage metadata of files in your Google Drive
MetadataReadonly
View metadata for files in your Google Drive
File
View and manage Google Drive files and folders that you have opened or created with this app
Script
Modify your Google Apps Script scripts' behavior
Readonly
View the files in your Google Drive
Appdata
View and manage its own configuration data in your Google Drive
Trait Implementations
impl Hash for Scope
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Eq for Scope
[src]
impl PartialEq for Scope
[src]
fn eq(&self, __arg_0: &Scope) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.