[][src]Enum google_docs1::Scope

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

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

Variants

Drive

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

DocumentReadonly

View your Google Docs documents

DriveFile

View and manage Google Drive files and folders that you have opened or created with this app

Document

View and manage your Google Docs documents

DriveReadonly

See and download all your Google Drive files

Trait Implementations

impl PartialEq<Scope> for Scope[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl AsRef<str> for Scope[src]

impl Eq for Scope[src]

impl Default for Scope[src]

impl Hash for Scope[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Scope

impl Unpin for Scope

impl Sync 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 = 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.

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

impl<T> Borrow<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

fn get_type(&self) -> TypeId

Get the TypeId of this object.