Enum google_docs1::api::Scope[][src]

pub enum Scope {
    Document,
    DocumentReadonly,
    Drive,
    DriveFile,
    DriveReadonly,
}

Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.

Variants

Document

See, create, and edit all Google Docs documents you have access to

DocumentReadonly

View your Google Docs documents

Drive

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

DriveFile

See, edit, create, and delete only the specific Google Drive files you use with this app

DriveReadonly

See and download all your Google Drive files

Trait Implementations

impl AsRef<str> for Scope[src]

impl Default for Scope[src]

impl Eq for Scope[src]

impl Hash for Scope[src]

impl PartialEq<Scope> for Scope[src]

impl StructuralEq for Scope[src]

impl StructuralPartialEq for Scope[src]

Auto Trait Implementations

impl RefUnwindSafe for Scope[src]

impl Send for Scope[src]

impl Sync for Scope[src]

impl Unpin for Scope[src]

impl UnwindSafe for Scope[src]

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

impl<T> Instrument 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 = 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.