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
Read, compose, and send emails from your Gmail account
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§
Source§impl Ord for Scope
impl Ord for Scope
Source§impl PartialOrd for Scope
impl PartialOrd for Scope
impl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more