pub enum GmailAPIv1 {
Show 14 variants
GMail,
AuthGmailAddonsCurrentActionCompose,
AuthGmailAddonsCurrentMessageAction,
AuthGmailAddonsCurrentMessageMetadata,
AuthGmailAddonsCurrentMessageReadOnly,
AuthGmailCompose,
AuthGmailInsert,
AuthGmailLabels,
AuthGmailMetadata,
AuthGmailModify,
AuthGmailReadOnly,
AuthGmailSend,
AuthGmailSettingsBasic,
AuthGmailSettingsSharing,
}Expand description
Gmail API, v1
Variants§
GMail
Documentation: Read, compose, send, and permanently delete all your email from Gmail, Scope: https://mail.google.com/
AuthGmailAddonsCurrentActionCompose
Documentation: Manage drafts and send emails when you interact with the add-on, Scope: https://www.googleapis.com/auth/gmail.addons.current.action.compose
AuthGmailAddonsCurrentMessageAction
Documentation: View your email messages when you interact with the add-on, Scope: https://www.googleapis.com/auth/gmail.addons.current.message.action
AuthGmailAddonsCurrentMessageMetadata
Documentation: View your email message metadata when the add-on is running, Scope: https://www.googleapis.com/auth/gmail.addons.current.message.metadata
AuthGmailAddonsCurrentMessageReadOnly
Documentation: View your email messages when the add-on is running, Scope: https://www.googleapis.com/auth/gmail.addons.current.message.readonly
AuthGmailCompose
Documentation: Manage drafts and send emails, Scope: https://www.googleapis.com/auth/gmail.compose
AuthGmailInsert
Documentation: Add emails into your Gmail mailbox, Scope: https://www.googleapis.com/auth/gmail.insert
AuthGmailLabels
Documentation: See and edit your email labels, Scope: https://www.googleapis.com/auth/gmail.labels
AuthGmailMetadata
Documentation: View your email message metadata such as labels and headers, but not the email body, Scope: https://www.googleapis.com/auth/gmail.metadata
AuthGmailModify
Documentation: Read, compose, and send emails from your Gmail account, Scope: https://www.googleapis.com/auth/gmail.modify
AuthGmailReadOnly
Documentation: View your email messages and settings, Scope: https://www.googleapis.com/auth/gmail.readonly
AuthGmailSend
Documentation: Send email on your behalf, Scope: https://www.googleapis.com/auth/gmail.send
AuthGmailSettingsBasic
Documentation: See, edit, create, or change your email settings and filters in Gmail, Scope: https://www.googleapis.com/auth/gmail.settings.basic
AuthGmailSettingsSharing
Documentation: Manage your sensitive mail settings, including who can manage your mail, Scope: https://www.googleapis.com/auth/gmail.settings.sharing
Trait Implementations§
Source§impl Clone for GmailAPIv1
impl Clone for GmailAPIv1
Source§fn clone(&self) -> GmailAPIv1
fn clone(&self) -> GmailAPIv1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GmailAPIv1
impl Debug for GmailAPIv1
Source§impl FromGoogleScope<GmailAPIv1> for GmailAPIv1
impl FromGoogleScope<GmailAPIv1> for GmailAPIv1
Source§fn from_google_scope(google_scope: &str) -> Result<GmailAPIv1, ()>
fn from_google_scope(google_scope: &str) -> Result<GmailAPIv1, ()>
Err if you input an invalid Google Scope.Source§impl Hash for GmailAPIv1
impl Hash for GmailAPIv1
Source§impl PartialEq for GmailAPIv1
impl PartialEq for GmailAPIv1
Source§impl ToGoogleScope for GmailAPIv1
impl ToGoogleScope for GmailAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
str literal