Enum google_gmail1::api::Scope
source · 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 PartialEq for Scope
impl PartialEq for Scope
source§impl PartialOrd for Scope
impl PartialOrd for Scope
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
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<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.