[][src]Enum google_drive2::Scope

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

See, edit, create, and delete all of your Google Drive files

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

See and download all your Google Drive files

Appdata

View and manage its own configuration data in your Google Drive

Trait Implementations

impl AsRef<str> for Scope[src]

impl Default for Scope[src]

impl Eq for Scope[src]

impl PartialEq<Scope> for Scope[src]

impl Hash for Scope[src]

impl StructuralPartialEq for Scope[src]

impl StructuralEq for Scope[src]

Auto Trait Implementations

impl Send for Scope

impl Sync for Scope

impl Unpin for Scope

impl UnwindSafe for Scope

impl RefUnwindSafe for Scope

Blanket Implementations

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

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

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

type Error = !

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

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

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

impl<T> Typeable for T where
    T: Any