Enum google_gmail1::api::Scope[][src]

pub enum Scope {
Show 14 variants Gmai, AddonCurrentActionCompose, AddonCurrentMessageAction, AddonCurrentMessageMetadata, AddonCurrentMessageReadonly, Compose, Insert, Label, Metadata, Modify, Readonly, Send, SettingBasic, SettingSharing,
}
Expand description

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

Variants

Gmai

Read, compose, send, and permanently delete all your email from Gmail

AddonCurrentActionCompose

Manage drafts and send emails when you interact with the add-on

AddonCurrentMessageAction

View your email messages when you interact with the add-on

AddonCurrentMessageMetadata

View your email message metadata when the add-on is running

AddonCurrentMessageReadonly

View your email messages when the add-on is running

Compose

Manage drafts and send emails

Insert

Add emails into your Gmail mailbox

Label

See and edit your email labels

Metadata

View your email message metadata such as labels and headers, but not the email body

Modify

View and modify but not delete your email

Readonly

View your email messages and settings

Send

Send email on your behalf

SettingBasic

See, edit, create, or change your email settings and filters in Gmail

SettingSharing

Manage your sensitive mail settings, including who can manage your mail

Trait Implementations

Performs the conversion.

Returns the “default value” for a type. Read more

Feeds this value into the given Hasher. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.