mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-29 21:34:03 +01:00
515 lines
114 KiB
HTML
515 lines
114 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `UserMethods` struct in crate `google_gmail1`."><meta name="keywords" content="rust, rustlang, rust-lang, UserMethods"><title>google_gmail1::api::UserMethods - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../google_gmail1/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Struct UserMethods</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Methods</a><div class="sidebar-links"><a href="#method.drafts_create">drafts_create</a><a href="#method.drafts_delete">drafts_delete</a><a href="#method.drafts_get">drafts_get</a><a href="#method.drafts_list">drafts_list</a><a href="#method.drafts_send">drafts_send</a><a href="#method.drafts_update">drafts_update</a><a href="#method.get_profile">get_profile</a><a href="#method.history_list">history_list</a><a href="#method.labels_create">labels_create</a><a href="#method.labels_delete">labels_delete</a><a href="#method.labels_get">labels_get</a><a href="#method.labels_list">labels_list</a><a href="#method.labels_patch">labels_patch</a><a href="#method.labels_update">labels_update</a><a href="#method.messages_attachments_get">messages_attachments_get</a><a href="#method.messages_batch_delete">messages_batch_delete</a><a href="#method.messages_batch_modify">messages_batch_modify</a><a href="#method.messages_delete">messages_delete</a><a href="#method.messages_get">messages_get</a><a href="#method.messages_import">messages_import</a><a href="#method.messages_insert">messages_insert</a><a href="#method.messages_list">messages_list</a><a href="#method.messages_modify">messages_modify</a><a href="#method.messages_send">messages_send</a><a href="#method.messages_trash">messages_trash</a><a href="#method.messages_untrash">messages_untrash</a><a href="#method.settings_delegates_create">settings_delegates_create</a><a href="#method.settings_delegates_delete">settings_delegates_delete</a><a href="#method.settings_delegates_get">settings_delegates_get</a><a href="#method.settings_delegates_list">settings_delegates_list</a><a href="#method.settings_filters_create">settings_filters_create</a><a href="#method.settings_filters_delete">settings_filters_delete</a><a href="#method.settings_filters_get">settings_filters_get</a><a href="#method.settings_filters_list">settings_filters_list</a><a href="#method.settings_forwarding_addresses_create">settings_forwarding_addresses_create</a><a href="#method.settings_forwarding_addresses_delete">settings_forwarding_addresses_delete</a><a href="#method.settings_forwarding_addresses_get">settings_forwarding_addresses_get</a><a href="#method.settings_forwarding_addresses_list">settings_forwarding_addresses_list</a><a href="#method.settings_get_auto_forwarding">settings_get_auto_forwarding</a><a href="#method.settings_get_imap">settings_get_imap</a><a href="#method.settings_get_language">settings_get_language</a><a href="#method.settings_get_pop">settings_get_pop</a><a href="#method.settings_get_vacation">settings_get_vacation</a><a href="#method.settings_send_as_create">settings_send_as_create</a><a href="#method.settings_send_as_delete">settings_send_as_delete</a><a href="#method.settings_send_as_get">settings_send_as_get</a><a href="#method.settings_send_as_list">settings_send_as_list</a><a href="#method.settings_send_as_patch">settings_send_as_patch</a><a href="#method.settings_send_as_smime_info_delete">settings_send_as_smime_info_delete</a><a href="#method.settings_send_as_smime_info_get">settings_send_as_smime_info_get</a><a href="#method.settings_send_as_smime_info_insert">settings_send_as_smime_info_insert</a><a href="#method.settings_send_as_smime_info_list">settings_send_as_smime_info_list</a><a href="#method.settings_send_as_smime_info_set_default">settings_send_as_smime_info_set_default</a><a href="#method.settings_send_as_update">settings_send_as_update</a><a href="#method.settings_send_as_verify">settings_send_as_verify</a><a href="#method.settings_update_auto_forwarding">settings_update_auto_forwarding</a><a href="#method.settings_update_imap">settings_update_imap</a><a href="#method.settings_update_language">settings_update_language</a><a href="#method.settings_update_pop">settings_update_pop</a><a href="#method.settings_update_vacation">settings_update_vacation</a><a href="#method.stop">stop</a><a href="#method.threads_delete">threads_delete</a><a href="#method.threads_get">threads_get</a><a href="#method.threads_list">threads_list</a><a href="#method.threads_modify">threads_modify</a><a href="#method.threads_trash">threads_trash</a><a href="#method.threads_untrash">threads_untrash</a><a href="#method.watch">watch</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-MethodsBuilder">MethodsBuilder</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a><a href="#impl-Send">!Send</a><a href="#impl-Sync">!Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">!UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Instrument">Instrument</a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><p class="location"><a href="../index.html">google_gmail1</a>::<wbr><a href="index.html">api</a></p><div id="sidebar-vars" data-name="UserMethods" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../index.html">google_gmail1</a>::<wbr><a href="index.html">api</a>::<wbr><a class="struct" href="">UserMethods</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/google_gmail1/api.rs.html#1301-1305" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct UserMethods<'a, C> <span class="where fmt-newline">where<br> C: 'a, </span> { /* fields omitted */ }</pre></div><div class="docblock"><p>A builder providing access to all methods supported on <em>user</em> resources.
|
||
It is not used directly, but through the <code>Gmail</code> hub.</p>
|
||
<h1 id="example" class="section-header"><a href="#example">Example</a></h1>
|
||
<p>Instantiate a resource builder</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered">
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">hyper</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">hyper_rustls</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">yup_oauth2</span> <span class="kw">as</span> <span class="ident">oauth2</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">google_gmail1</span> <span class="kw">as</span> <span class="ident">gmail1</span>;
|
||
|
||
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">default</span>::<span class="ident">Default</span>;
|
||
<span class="kw">use</span> <span class="ident">oauth2</span>;
|
||
<span class="kw">use</span> <span class="ident">gmail1</span>::<span class="ident">Gmail</span>;
|
||
|
||
<span class="kw">let</span> <span class="ident">secret</span>: <span class="ident">oauth2</span>::<span class="ident">ApplicationSecret</span> <span class="op">=</span> <span class="ident">Default</span>::<span class="ident">default</span>();
|
||
<span class="kw">let</span> <span class="ident">auth</span> <span class="op">=</span> <span class="ident">yup_oauth2</span>::<span class="ident">InstalledFlowAuthenticator</span>::<span class="ident">builder</span>(
|
||
<span class="ident">secret</span>,
|
||
<span class="ident">yup_oauth2</span>::<span class="ident">InstalledFlowReturnMethod</span>::<span class="ident">HTTPRedirect</span>,
|
||
).<span class="ident">build</span>().<span class="kw">await</span>.<span class="ident">unwrap</span>();
|
||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">hub</span> <span class="op">=</span> <span class="ident">Gmail</span>::<span class="ident">new</span>(<span class="ident">hyper</span>::<span class="ident">Client</span>::<span class="ident">builder</span>().<span class="ident">build</span>(<span class="ident">hyper_rustls</span>::<span class="ident">HttpsConnector</span>::<span class="ident">with_native_roots</span>()), <span class="ident">auth</span>);
|
||
<span class="comment">// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*</span>
|
||
<span class="comment">// like `drafts_create(...)`, `drafts_delete(...)`, `drafts_get(...)`, `drafts_list(...)`, `drafts_send(...)`, `drafts_update(...)`, `get_profile(...)`, `history_list(...)`, `labels_create(...)`, `labels_delete(...)`, `labels_get(...)`, `labels_list(...)`, `labels_patch(...)`, `labels_update(...)`, `messages_attachments_get(...)`, `messages_batch_delete(...)`, `messages_batch_modify(...)`, `messages_delete(...)`, `messages_get(...)`, `messages_import(...)`, `messages_insert(...)`, `messages_list(...)`, `messages_modify(...)`, `messages_send(...)`, `messages_trash(...)`, `messages_untrash(...)`, `settings_delegates_create(...)`, `settings_delegates_delete(...)`, `settings_delegates_get(...)`, `settings_delegates_list(...)`, `settings_filters_create(...)`, `settings_filters_delete(...)`, `settings_filters_get(...)`, `settings_filters_list(...)`, `settings_forwarding_addresses_create(...)`, `settings_forwarding_addresses_delete(...)`, `settings_forwarding_addresses_get(...)`, `settings_forwarding_addresses_list(...)`, `settings_get_auto_forwarding(...)`, `settings_get_imap(...)`, `settings_get_language(...)`, `settings_get_pop(...)`, `settings_get_vacation(...)`, `settings_send_as_create(...)`, `settings_send_as_delete(...)`, `settings_send_as_get(...)`, `settings_send_as_list(...)`, `settings_send_as_patch(...)`, `settings_send_as_smime_info_delete(...)`, `settings_send_as_smime_info_get(...)`, `settings_send_as_smime_info_insert(...)`, `settings_send_as_smime_info_list(...)`, `settings_send_as_smime_info_set_default(...)`, `settings_send_as_update(...)`, `settings_send_as_verify(...)`, `settings_update_auto_forwarding(...)`, `settings_update_imap(...)`, `settings_update_language(...)`, `settings_update_pop(...)`, `settings_update_vacation(...)`, `stop(...)`, `threads_delete(...)`, `threads_get(...)`, `threads_list(...)`, `threads_modify(...)`, `threads_trash(...)`, `threads_untrash(...)` and `watch(...)`</span>
|
||
<span class="comment">// to build up your call.</span>
|
||
<span class="kw">let</span> <span class="ident">rb</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">users</span>();</pre></div>
|
||
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><h3 id="impl" class="impl"><code class="in-band">impl<'a, C> <a class="struct" href="../../google_gmail1/api/struct.UserMethods.html" title="struct google_gmail1::api::UserMethods">UserMethods</a><'a, C></code><a href="#impl" class="anchor"></a><a class="srclink" href="../../src/google_gmail1/api.rs.html#1309-2624" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.drafts_create" class="method"><code>pub fn <a href="#method.drafts_create" class="fnname">drafts_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Draft.html" title="struct google_gmail1::api::Draft">Draft</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserDraftCreateCall.html" title="struct google_gmail1::api::UserDraftCreateCall">UserDraftCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1319-1328" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new draft with the <code>DRAFT</code> label.</p>
|
||
<h1 id="arguments" class="section-header"><a href="#arguments">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.drafts_delete" class="method"><code>pub fn <a href="#method.drafts_delete" class="fnname">drafts_delete</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserDraftDeleteCall.html" title="struct google_gmail1::api::UserDraftDeleteCall">UserDraftDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1338-1347" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Immediately and permanently deletes the specified draft. Does not simply trash it.</p>
|
||
<h1 id="arguments-1" class="section-header"><a href="#arguments-1">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the draft to delete.</li>
|
||
</ul>
|
||
</div><h4 id="method.drafts_get" class="method"><code>pub fn <a href="#method.drafts_get" class="fnname">drafts_get</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserDraftGetCall.html" title="struct google_gmail1::api::UserDraftGetCall">UserDraftGetCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1357-1367" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the specified draft.</p>
|
||
<h1 id="arguments-2" class="section-header"><a href="#arguments-2">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the draft to retrieve.</li>
|
||
</ul>
|
||
</div><h4 id="method.drafts_list" class="method"><code>pub fn <a href="#method.drafts_list" class="fnname">drafts_list</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserDraftListCall.html" title="struct google_gmail1::api::UserDraftListCall">UserDraftListCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1376-1388" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the drafts in the user's mailbox.</p>
|
||
<h1 id="arguments-3" class="section-header"><a href="#arguments-3">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.drafts_send" class="method"><code>pub fn <a href="#method.drafts_send" class="fnname">drafts_send</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Draft.html" title="struct google_gmail1::api::Draft">Draft</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserDraftSendCall.html" title="struct google_gmail1::api::UserDraftSendCall">UserDraftSendCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1398-1407" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Sends the specified, existing draft to the recipients in the <code>To</code>, <code>Cc</code>, and <code>Bcc</code> headers.</p>
|
||
<h1 id="arguments-4" class="section-header"><a href="#arguments-4">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.drafts_update" class="method"><code>pub fn <a href="#method.drafts_update" class="fnname">drafts_update</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Draft.html" title="struct google_gmail1::api::Draft">Draft</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserDraftUpdateCall.html" title="struct google_gmail1::api::UserDraftUpdateCall">UserDraftUpdateCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1418-1428" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Replaces a draft's content.</p>
|
||
<h1 id="arguments-5" class="section-header"><a href="#arguments-5">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the draft to update.</li>
|
||
</ul>
|
||
</div><h4 id="method.history_list" class="method"><code>pub fn <a href="#method.history_list" class="fnname">history_list</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserHistoryListCall.html" title="struct google_gmail1::api::UserHistoryListCall">UserHistoryListCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1437-1450" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing <code>historyId</code>).</p>
|
||
<h1 id="arguments-6" class="section-header"><a href="#arguments-6">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.labels_create" class="method"><code>pub fn <a href="#method.labels_create" class="fnname">labels_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Label.html" title="struct google_gmail1::api::Label">Label</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserLabelCreateCall.html" title="struct google_gmail1::api::UserLabelCreateCall">UserLabelCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1460-1469" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new label.</p>
|
||
<h1 id="arguments-7" class="section-header"><a href="#arguments-7">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.labels_delete" class="method"><code>pub fn <a href="#method.labels_delete" class="fnname">labels_delete</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserLabelDeleteCall.html" title="struct google_gmail1::api::UserLabelDeleteCall">UserLabelDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1479-1488" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.</p>
|
||
<h1 id="arguments-8" class="section-header"><a href="#arguments-8">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the label to delete.</li>
|
||
</ul>
|
||
</div><h4 id="method.labels_get" class="method"><code>pub fn <a href="#method.labels_get" class="fnname">labels_get</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserLabelGetCall.html" title="struct google_gmail1::api::UserLabelGetCall">UserLabelGetCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1498-1507" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the specified label.</p>
|
||
<h1 id="arguments-9" class="section-header"><a href="#arguments-9">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the label to retrieve.</li>
|
||
</ul>
|
||
</div><h4 id="method.labels_list" class="method"><code>pub fn <a href="#method.labels_list" class="fnname">labels_list</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserLabelListCall.html" title="struct google_gmail1::api::UserLabelListCall">UserLabelListCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1516-1524" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists all labels in the user's mailbox.</p>
|
||
<h1 id="arguments-10" class="section-header"><a href="#arguments-10">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.labels_patch" class="method"><code>pub fn <a href="#method.labels_patch" class="fnname">labels_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Label.html" title="struct google_gmail1::api::Label">Label</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserLabelPatchCall.html" title="struct google_gmail1::api::UserLabelPatchCall">UserLabelPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1535-1545" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Patch the specified label.</p>
|
||
<h1 id="arguments-11" class="section-header"><a href="#arguments-11">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the label to update.</li>
|
||
</ul>
|
||
</div><h4 id="method.labels_update" class="method"><code>pub fn <a href="#method.labels_update" class="fnname">labels_update</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Label.html" title="struct google_gmail1::api::Label">Label</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserLabelUpdateCall.html" title="struct google_gmail1::api::UserLabelUpdateCall">UserLabelUpdateCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1556-1566" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the specified label.</p>
|
||
<h1 id="arguments-12" class="section-header"><a href="#arguments-12">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the label to update.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_attachments_get" class="method"><code>pub fn <a href="#method.messages_attachments_get" class="fnname">messages_attachments_get</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> message_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageAttachmentGetCall.html" title="struct google_gmail1::api::UserMessageAttachmentGetCall">UserMessageAttachmentGetCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1577-1587" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the specified message attachment.</p>
|
||
<h1 id="arguments-13" class="section-header"><a href="#arguments-13">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>messageId</code> - The ID of the message containing the attachment.</li>
|
||
<li><code>id</code> - The ID of the attachment.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_batch_delete" class="method"><code>pub fn <a href="#method.messages_batch_delete" class="fnname">messages_batch_delete</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.BatchDeleteMessagesRequest.html" title="struct google_gmail1::api::BatchDeleteMessagesRequest">BatchDeleteMessagesRequest</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageBatchDeleteCall.html" title="struct google_gmail1::api::UserMessageBatchDeleteCall">UserMessageBatchDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1597-1606" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.</p>
|
||
<h1 id="arguments-14" class="section-header"><a href="#arguments-14">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_batch_modify" class="method"><code>pub fn <a href="#method.messages_batch_modify" class="fnname">messages_batch_modify</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.BatchModifyMessagesRequest.html" title="struct google_gmail1::api::BatchModifyMessagesRequest">BatchModifyMessagesRequest</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageBatchModifyCall.html" title="struct google_gmail1::api::UserMessageBatchModifyCall">UserMessageBatchModifyCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1616-1625" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Modifies the labels on the specified messages.</p>
|
||
<h1 id="arguments-15" class="section-header"><a href="#arguments-15">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_delete" class="method"><code>pub fn <a href="#method.messages_delete" class="fnname">messages_delete</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageDeleteCall.html" title="struct google_gmail1::api::UserMessageDeleteCall">UserMessageDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1635-1644" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer <code>messages.trash</code> instead.</p>
|
||
<h1 id="arguments-16" class="section-header"><a href="#arguments-16">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the message to delete.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_get" class="method"><code>pub fn <a href="#method.messages_get" class="fnname">messages_get</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageGetCall.html" title="struct google_gmail1::api::UserMessageGetCall">UserMessageGetCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1654-1665" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the specified message.</p>
|
||
<h1 id="arguments-17" class="section-header"><a href="#arguments-17">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the message to retrieve. This ID is usually retrieved using <code>messages.list</code>. The ID is also contained in the result when a message is inserted (<code>messages.insert</code>) or imported (<code>messages.import</code>).</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_import" class="method"><code>pub fn <a href="#method.messages_import" class="fnname">messages_import</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Message.html" title="struct google_gmail1::api::Message">Message</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageImportCall.html" title="struct google_gmail1::api::UserMessageImportCall">UserMessageImportCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1675-1688" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Imports a message into only this user's mailbox, with standard email delivery scanning and classification similar to receiving via SMTP. Does not send a message. Note: This function doesn't trigger forwarding rules or filters set up by the user.</p>
|
||
<h1 id="arguments-18" class="section-header"><a href="#arguments-18">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_insert" class="method"><code>pub fn <a href="#method.messages_insert" class="fnname">messages_insert</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Message.html" title="struct google_gmail1::api::Message">Message</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageInsertCall.html" title="struct google_gmail1::api::UserMessageInsertCall">UserMessageInsertCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1698-1709" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Directly inserts a message into only this user's mailbox similar to <code>IMAP APPEND</code>, bypassing most scanning and classification. Does not send a message.</p>
|
||
<h1 id="arguments-19" class="section-header"><a href="#arguments-19">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_list" class="method"><code>pub fn <a href="#method.messages_list" class="fnname">messages_list</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageListCall.html" title="struct google_gmail1::api::UserMessageListCall">UserMessageListCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1718-1731" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the messages in the user's mailbox.</p>
|
||
<h1 id="arguments-20" class="section-header"><a href="#arguments-20">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_modify" class="method"><code>pub fn <a href="#method.messages_modify" class="fnname">messages_modify</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.ModifyMessageRequest.html" title="struct google_gmail1::api::ModifyMessageRequest">ModifyMessageRequest</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageModifyCall.html" title="struct google_gmail1::api::UserMessageModifyCall">UserMessageModifyCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1742-1752" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Modifies the labels on the specified message.</p>
|
||
<h1 id="arguments-21" class="section-header"><a href="#arguments-21">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the message to modify.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_send" class="method"><code>pub fn <a href="#method.messages_send" class="fnname">messages_send</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Message.html" title="struct google_gmail1::api::Message">Message</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageSendCall.html" title="struct google_gmail1::api::UserMessageSendCall">UserMessageSendCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1762-1771" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Sends the specified message to the recipients in the <code>To</code>, <code>Cc</code>, and <code>Bcc</code> headers.</p>
|
||
<h1 id="arguments-22" class="section-header"><a href="#arguments-22">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_trash" class="method"><code>pub fn <a href="#method.messages_trash" class="fnname">messages_trash</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageTrashCall.html" title="struct google_gmail1::api::UserMessageTrashCall">UserMessageTrashCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1781-1790" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Moves the specified message to the trash.</p>
|
||
<h1 id="arguments-23" class="section-header"><a href="#arguments-23">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the message to Trash.</li>
|
||
</ul>
|
||
</div><h4 id="method.messages_untrash" class="method"><code>pub fn <a href="#method.messages_untrash" class="fnname">messages_untrash</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserMessageUntrashCall.html" title="struct google_gmail1::api::UserMessageUntrashCall">UserMessageUntrashCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1800-1809" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Removes the specified message from the trash.</p>
|
||
<h1 id="arguments-24" class="section-header"><a href="#arguments-24">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the message to remove from Trash.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_delegates_create" class="method"><code>pub fn <a href="#method.settings_delegates_create" class="fnname">settings_delegates_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Delegate.html" title="struct google_gmail1::api::Delegate">Delegate</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingDelegateCreateCall.html" title="struct google_gmail1::api::UserSettingDelegateCreateCall">UserSettingDelegateCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1819-1828" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Adds a delegate with its verification status set directly to <code>accepted</code>, without sending any verification email. The delegate user must be a member of the same G Suite organization as the delegator user. Gmail imposes limitations on the number of delegates and delegators each user in a G Suite organization can have. These limits depend on your organization, but in general each user can have up to 25 delegates and up to 10 delegators. Note that a delegate user must be referred to by their primary email address, and not an email alias. Also note that when a new delegate is created, there may be up to a one minute delay before the new delegate is available for use. This method is only available to service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-25" class="section-header"><a href="#arguments-25">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_delegates_delete" class="method"><code>pub fn <a href="#method.settings_delegates_delete" class="fnname">settings_delegates_delete</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> delegate_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingDelegateDeleteCall.html" title="struct google_gmail1::api::UserSettingDelegateDeleteCall">UserSettingDelegateDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1838-1847" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-26" class="section-header"><a href="#arguments-26">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>delegateEmail</code> - The email address of the user to be removed as a delegate.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_delegates_get" class="method"><code>pub fn <a href="#method.settings_delegates_get" class="fnname">settings_delegates_get</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> delegate_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingDelegateGetCall.html" title="struct google_gmail1::api::UserSettingDelegateGetCall">UserSettingDelegateGetCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1857-1866" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the specified delegate. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-27" class="section-header"><a href="#arguments-27">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>delegateEmail</code> - The email address of the user whose delegate relationship is to be retrieved.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_delegates_list" class="method"><code>pub fn <a href="#method.settings_delegates_list" class="fnname">settings_delegates_list</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingDelegateListCall.html" title="struct google_gmail1::api::UserSettingDelegateListCall">UserSettingDelegateListCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1875-1883" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the delegates for the specified account. This method is only available to service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-28" class="section-header"><a href="#arguments-28">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_filters_create" class="method"><code>pub fn <a href="#method.settings_filters_create" class="fnname">settings_filters_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.Filter.html" title="struct google_gmail1::api::Filter">Filter</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingFilterCreateCall.html" title="struct google_gmail1::api::UserSettingFilterCreateCall">UserSettingFilterCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1893-1902" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a filter. Note: you can only create a maximum of 1,000 filters.</p>
|
||
<h1 id="arguments-29" class="section-header"><a href="#arguments-29">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_filters_delete" class="method"><code>pub fn <a href="#method.settings_filters_delete" class="fnname">settings_filters_delete</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingFilterDeleteCall.html" title="struct google_gmail1::api::UserSettingFilterDeleteCall">UserSettingFilterDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1912-1921" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes a filter.</p>
|
||
<h1 id="arguments-30" class="section-header"><a href="#arguments-30">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the filter to be deleted.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_filters_get" class="method"><code>pub fn <a href="#method.settings_filters_get" class="fnname">settings_filters_get</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingFilterGetCall.html" title="struct google_gmail1::api::UserSettingFilterGetCall">UserSettingFilterGetCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1931-1940" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets a filter.</p>
|
||
<h1 id="arguments-31" class="section-header"><a href="#arguments-31">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the filter to be fetched.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_filters_list" class="method"><code>pub fn <a href="#method.settings_filters_list" class="fnname">settings_filters_list</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingFilterListCall.html" title="struct google_gmail1::api::UserSettingFilterListCall">UserSettingFilterListCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1949-1957" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the message filters of a Gmail user.</p>
|
||
<h1 id="arguments-32" class="section-header"><a href="#arguments-32">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_forwarding_addresses_create" class="method"><code>pub fn <a href="#method.settings_forwarding_addresses_create" class="fnname">settings_forwarding_addresses_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.ForwardingAddress.html" title="struct google_gmail1::api::ForwardingAddress">ForwardingAddress</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingForwardingAddresseCreateCall.html" title="struct google_gmail1::api::UserSettingForwardingAddresseCreateCall">UserSettingForwardingAddresseCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1967-1976" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a forwarding address. If ownership verification is required, a message will be sent to the recipient and the resource's verification status will be set to <code>pending</code>; otherwise, the resource will be created with verification status set to <code>accepted</code>. This method is only available to service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-33" class="section-header"><a href="#arguments-33">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_forwarding_addresses_delete" class="method"><code>pub fn <a href="#method.settings_forwarding_addresses_delete" class="fnname">settings_forwarding_addresses_delete</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> forwarding_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingForwardingAddresseDeleteCall.html" title="struct google_gmail1::api::UserSettingForwardingAddresseDeleteCall">UserSettingForwardingAddresseDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#1986-1995" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified forwarding address and revokes any verification that may have been required. This method is only available to service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-34" class="section-header"><a href="#arguments-34">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>forwardingEmail</code> - The forwarding address to be deleted.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_forwarding_addresses_get" class="method"><code>pub fn <a href="#method.settings_forwarding_addresses_get" class="fnname">settings_forwarding_addresses_get</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> forwarding_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingForwardingAddresseGetCall.html" title="struct google_gmail1::api::UserSettingForwardingAddresseGetCall">UserSettingForwardingAddresseGetCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2005-2014" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the specified forwarding address.</p>
|
||
<h1 id="arguments-35" class="section-header"><a href="#arguments-35">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>forwardingEmail</code> - The forwarding address to be retrieved.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_forwarding_addresses_list" class="method"><code>pub fn <a href="#method.settings_forwarding_addresses_list" class="fnname">settings_forwarding_addresses_list</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingForwardingAddresseListCall.html" title="struct google_gmail1::api::UserSettingForwardingAddresseListCall">UserSettingForwardingAddresseListCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2023-2031" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the forwarding addresses for the specified account.</p>
|
||
<h1 id="arguments-36" class="section-header"><a href="#arguments-36">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_smime_info_delete" class="method"><code>pub fn <a href="#method.settings_send_as_smime_info_delete" class="fnname">settings_send_as_smime_info_delete</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> send_as_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendASmimeInfoDeleteCall.html" title="struct google_gmail1::api::UserSettingSendASmimeInfoDeleteCall">UserSettingSendASmimeInfoDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2042-2052" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified S/MIME config for the specified send-as alias.</p>
|
||
<h1 id="arguments-37" class="section-header"><a href="#arguments-37">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>sendAsEmail</code> - The email address that appears in the "From:" header for mail sent using this alias.</li>
|
||
<li><code>id</code> - The immutable ID for the SmimeInfo.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_smime_info_get" class="method"><code>pub fn <a href="#method.settings_send_as_smime_info_get" class="fnname">settings_send_as_smime_info_get</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> send_as_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendASmimeInfoGetCall.html" title="struct google_gmail1::api::UserSettingSendASmimeInfoGetCall">UserSettingSendASmimeInfoGetCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2063-2073" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the specified S/MIME config for the specified send-as alias.</p>
|
||
<h1 id="arguments-38" class="section-header"><a href="#arguments-38">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>sendAsEmail</code> - The email address that appears in the "From:" header for mail sent using this alias.</li>
|
||
<li><code>id</code> - The immutable ID for the SmimeInfo.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_smime_info_insert" class="method"><code>pub fn <a href="#method.settings_send_as_smime_info_insert" class="fnname">settings_send_as_smime_info_insert</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.SmimeInfo.html" title="struct google_gmail1::api::SmimeInfo">SmimeInfo</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> send_as_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendASmimeInfoInsertCall.html" title="struct google_gmail1::api::UserSettingSendASmimeInfoInsertCall">UserSettingSendASmimeInfoInsertCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2084-2094" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key.</p>
|
||
<h1 id="arguments-39" class="section-header"><a href="#arguments-39">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>sendAsEmail</code> - The email address that appears in the "From:" header for mail sent using this alias.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_smime_info_list" class="method"><code>pub fn <a href="#method.settings_send_as_smime_info_list" class="fnname">settings_send_as_smime_info_list</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> send_as_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendASmimeInfoListCall.html" title="struct google_gmail1::api::UserSettingSendASmimeInfoListCall">UserSettingSendASmimeInfoListCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2104-2113" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists S/MIME configs for the specified send-as alias.</p>
|
||
<h1 id="arguments-40" class="section-header"><a href="#arguments-40">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>sendAsEmail</code> - The email address that appears in the "From:" header for mail sent using this alias.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_smime_info_set_default" class="method"><code>pub fn <a href="#method.settings_send_as_smime_info_set_default" class="fnname">settings_send_as_smime_info_set_default</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> send_as_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendASmimeInfoSetDefaultCall.html" title="struct google_gmail1::api::UserSettingSendASmimeInfoSetDefaultCall">UserSettingSendASmimeInfoSetDefaultCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2124-2134" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Sets the default S/MIME config for the specified send-as alias.</p>
|
||
<h1 id="arguments-41" class="section-header"><a href="#arguments-41">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>sendAsEmail</code> - The email address that appears in the "From:" header for mail sent using this alias.</li>
|
||
<li><code>id</code> - The immutable ID for the SmimeInfo.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_create" class="method"><code>pub fn <a href="#method.settings_send_as_create" class="fnname">settings_send_as_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.SendAs.html" title="struct google_gmail1::api::SendAs">SendAs</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendACreateCall.html" title="struct google_gmail1::api::UserSettingSendACreateCall">UserSettingSendACreateCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2144-2153" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a custom "from" send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the SMTP service to validate the configuration before creating the alias. If ownership verification is required for the alias, a message will be sent to the email address and the resource's verification status will be set to <code>pending</code>; otherwise, the resource will be created with verification status set to <code>accepted</code>. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. This method is only available to service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-42" class="section-header"><a href="#arguments-42">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_delete" class="method"><code>pub fn <a href="#method.settings_send_as_delete" class="fnname">settings_send_as_delete</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> send_as_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendADeleteCall.html" title="struct google_gmail1::api::UserSettingSendADeleteCall">UserSettingSendADeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2163-2172" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes the specified send-as alias. Revokes any verification that may have been required for using it. This method is only available to service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-43" class="section-header"><a href="#arguments-43">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>sendAsEmail</code> - The send-as alias to be deleted.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_get" class="method"><code>pub fn <a href="#method.settings_send_as_get" class="fnname">settings_send_as_get</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> send_as_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendAGetCall.html" title="struct google_gmail1::api::UserSettingSendAGetCall">UserSettingSendAGetCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2182-2191" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the specified send-as alias. Fails with an HTTP 404 error if the specified address is not a member of the collection.</p>
|
||
<h1 id="arguments-44" class="section-header"><a href="#arguments-44">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>sendAsEmail</code> - The send-as alias to be retrieved.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_list" class="method"><code>pub fn <a href="#method.settings_send_as_list" class="fnname">settings_send_as_list</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendAListCall.html" title="struct google_gmail1::api::UserSettingSendAListCall">UserSettingSendAListCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2200-2208" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the send-as aliases for the specified account. The result includes the primary send-as address associated with the account as well as any custom "from" aliases.</p>
|
||
<h1 id="arguments-45" class="section-header"><a href="#arguments-45">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_patch" class="method"><code>pub fn <a href="#method.settings_send_as_patch" class="fnname">settings_send_as_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.SendAs.html" title="struct google_gmail1::api::SendAs">SendAs</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> send_as_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendAPatchCall.html" title="struct google_gmail1::api::UserSettingSendAPatchCall">UserSettingSendAPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2219-2229" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Patch the specified send-as alias.</p>
|
||
<h1 id="arguments-46" class="section-header"><a href="#arguments-46">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>sendAsEmail</code> - The send-as alias to be updated.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_update" class="method"><code>pub fn <a href="#method.settings_send_as_update" class="fnname">settings_send_as_update</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.SendAs.html" title="struct google_gmail1::api::SendAs">SendAs</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> send_as_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendAUpdateCall.html" title="struct google_gmail1::api::UserSettingSendAUpdateCall">UserSettingSendAUpdateCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2240-2250" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. Addresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-47" class="section-header"><a href="#arguments-47">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>sendAsEmail</code> - The send-as alias to be updated.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_send_as_verify" class="method"><code>pub fn <a href="#method.settings_send_as_verify" class="fnname">settings_send_as_verify</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> send_as_email: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingSendAVerifyCall.html" title="struct google_gmail1::api::UserSettingSendAVerifyCall">UserSettingSendAVerifyCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2260-2269" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Sends a verification email to the specified send-as alias address. The verification status must be <code>pending</code>. This method is only available to service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-48" class="section-header"><a href="#arguments-48">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
<li><code>sendAsEmail</code> - The send-as alias to be verified.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_get_auto_forwarding" class="method"><code>pub fn <a href="#method.settings_get_auto_forwarding" class="fnname">settings_get_auto_forwarding</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingGetAutoForwardingCall.html" title="struct google_gmail1::api::UserSettingGetAutoForwardingCall">UserSettingGetAutoForwardingCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2278-2286" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the auto-forwarding setting for the specified account.</p>
|
||
<h1 id="arguments-49" class="section-header"><a href="#arguments-49">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_get_imap" class="method"><code>pub fn <a href="#method.settings_get_imap" class="fnname">settings_get_imap</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingGetImapCall.html" title="struct google_gmail1::api::UserSettingGetImapCall">UserSettingGetImapCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2295-2303" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets IMAP settings.</p>
|
||
<h1 id="arguments-50" class="section-header"><a href="#arguments-50">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_get_language" class="method"><code>pub fn <a href="#method.settings_get_language" class="fnname">settings_get_language</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingGetLanguageCall.html" title="struct google_gmail1::api::UserSettingGetLanguageCall">UserSettingGetLanguageCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2312-2320" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets language settings.</p>
|
||
<h1 id="arguments-51" class="section-header"><a href="#arguments-51">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_get_pop" class="method"><code>pub fn <a href="#method.settings_get_pop" class="fnname">settings_get_pop</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingGetPopCall.html" title="struct google_gmail1::api::UserSettingGetPopCall">UserSettingGetPopCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2329-2337" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets POP settings.</p>
|
||
<h1 id="arguments-52" class="section-header"><a href="#arguments-52">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_get_vacation" class="method"><code>pub fn <a href="#method.settings_get_vacation" class="fnname">settings_get_vacation</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingGetVacationCall.html" title="struct google_gmail1::api::UserSettingGetVacationCall">UserSettingGetVacationCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2346-2354" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets vacation responder settings.</p>
|
||
<h1 id="arguments-53" class="section-header"><a href="#arguments-53">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_update_auto_forwarding" class="method"><code>pub fn <a href="#method.settings_update_auto_forwarding" class="fnname">settings_update_auto_forwarding</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.AutoForwarding.html" title="struct google_gmail1::api::AutoForwarding">AutoForwarding</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingUpdateAutoForwardingCall.html" title="struct google_gmail1::api::UserSettingUpdateAutoForwardingCall">UserSettingUpdateAutoForwardingCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2364-2373" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled. This method is only available to service account clients that have been delegated domain-wide authority.</p>
|
||
<h1 id="arguments-54" class="section-header"><a href="#arguments-54">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_update_imap" class="method"><code>pub fn <a href="#method.settings_update_imap" class="fnname">settings_update_imap</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.ImapSettings.html" title="struct google_gmail1::api::ImapSettings">ImapSettings</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingUpdateImapCall.html" title="struct google_gmail1::api::UserSettingUpdateImapCall">UserSettingUpdateImapCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2383-2392" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates IMAP settings.</p>
|
||
<h1 id="arguments-55" class="section-header"><a href="#arguments-55">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_update_language" class="method"><code>pub fn <a href="#method.settings_update_language" class="fnname">settings_update_language</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.LanguageSettings.html" title="struct google_gmail1::api::LanguageSettings">LanguageSettings</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingUpdateLanguageCall.html" title="struct google_gmail1::api::UserSettingUpdateLanguageCall">UserSettingUpdateLanguageCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2402-2411" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates language settings. If successful, the return object contains the <code>displayLanguage</code> that was saved for the user, which may differ from the value passed into the request. This is because the requested <code>displayLanguage</code> may not be directly supported by Gmail but have a close variant that is, and so the variant may be chosen and saved instead.</p>
|
||
<h1 id="arguments-56" class="section-header"><a href="#arguments-56">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_update_pop" class="method"><code>pub fn <a href="#method.settings_update_pop" class="fnname">settings_update_pop</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.PopSettings.html" title="struct google_gmail1::api::PopSettings">PopSettings</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingUpdatePopCall.html" title="struct google_gmail1::api::UserSettingUpdatePopCall">UserSettingUpdatePopCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2421-2430" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates POP settings.</p>
|
||
<h1 id="arguments-57" class="section-header"><a href="#arguments-57">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.settings_update_vacation" class="method"><code>pub fn <a href="#method.settings_update_vacation" class="fnname">settings_update_vacation</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.VacationSettings.html" title="struct google_gmail1::api::VacationSettings">VacationSettings</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserSettingUpdateVacationCall.html" title="struct google_gmail1::api::UserSettingUpdateVacationCall">UserSettingUpdateVacationCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2440-2449" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates vacation responder settings.</p>
|
||
<h1 id="arguments-58" class="section-header"><a href="#arguments-58">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - User's email address. The special value "me" can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.threads_delete" class="method"><code>pub fn <a href="#method.threads_delete" class="fnname">threads_delete</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserThreadDeleteCall.html" title="struct google_gmail1::api::UserThreadDeleteCall">UserThreadDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2459-2468" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer <code>threads.trash</code> instead.</p>
|
||
<h1 id="arguments-59" class="section-header"><a href="#arguments-59">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - ID of the Thread to delete.</li>
|
||
</ul>
|
||
</div><h4 id="method.threads_get" class="method"><code>pub fn <a href="#method.threads_get" class="fnname">threads_get</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserThreadGetCall.html" title="struct google_gmail1::api::UserThreadGetCall">UserThreadGetCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2478-2489" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the specified thread.</p>
|
||
<h1 id="arguments-60" class="section-header"><a href="#arguments-60">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the thread to retrieve.</li>
|
||
</ul>
|
||
</div><h4 id="method.threads_list" class="method"><code>pub fn <a href="#method.threads_list" class="fnname">threads_list</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserThreadListCall.html" title="struct google_gmail1::api::UserThreadListCall">UserThreadListCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2498-2511" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the threads in the user's mailbox.</p>
|
||
<h1 id="arguments-61" class="section-header"><a href="#arguments-61">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.threads_modify" class="method"><code>pub fn <a href="#method.threads_modify" class="fnname">threads_modify</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.ModifyThreadRequest.html" title="struct google_gmail1::api::ModifyThreadRequest">ModifyThreadRequest</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserThreadModifyCall.html" title="struct google_gmail1::api::UserThreadModifyCall">UserThreadModifyCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2522-2532" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Modifies the labels applied to the thread. This applies to all messages in the thread.</p>
|
||
<h1 id="arguments-62" class="section-header"><a href="#arguments-62">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the thread to modify.</li>
|
||
</ul>
|
||
</div><h4 id="method.threads_trash" class="method"><code>pub fn <a href="#method.threads_trash" class="fnname">threads_trash</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserThreadTrashCall.html" title="struct google_gmail1::api::UserThreadTrashCall">UserThreadTrashCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2542-2551" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Moves the specified thread to the trash.</p>
|
||
<h1 id="arguments-63" class="section-header"><a href="#arguments-63">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the thread to Trash.</li>
|
||
</ul>
|
||
</div><h4 id="method.threads_untrash" class="method"><code>pub fn <a href="#method.threads_untrash" class="fnname">threads_untrash</a>(<br> &self, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserThreadUntrashCall.html" title="struct google_gmail1::api::UserThreadUntrashCall">UserThreadUntrashCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2561-2570" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Removes the specified thread from the trash.</p>
|
||
<h1 id="arguments-64" class="section-header"><a href="#arguments-64">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
<li><code>id</code> - The ID of the thread to remove from Trash.</li>
|
||
</ul>
|
||
</div><h4 id="method.get_profile" class="method"><code>pub fn <a href="#method.get_profile" class="fnname">get_profile</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserGetProfileCall.html" title="struct google_gmail1::api::UserGetProfileCall">UserGetProfileCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2579-2587" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets the current user's Gmail profile.</p>
|
||
<h1 id="arguments-65" class="section-header"><a href="#arguments-65">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.stop" class="method"><code>pub fn <a href="#method.stop" class="fnname">stop</a>(&self, user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_gmail1/api/struct.UserStopCall.html" title="struct google_gmail1::api::UserStopCall">UserStopCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2596-2604" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Stop receiving push notifications for the given user mailbox.</p>
|
||
<h1 id="arguments-66" class="section-header"><a href="#arguments-66">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div><h4 id="method.watch" class="method"><code>pub fn <a href="#method.watch" class="fnname">watch</a>(<br> &self, <br> request: <a class="struct" href="../../google_gmail1/api/struct.WatchRequest.html" title="struct google_gmail1::api::WatchRequest">WatchRequest</a>, <br> user_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_gmail1/api/struct.UserWatchCall.html" title="struct google_gmail1::api::UserWatchCall">UserWatchCall</a><'a, C></code><a class="srclink" href="../../src/google_gmail1/api.rs.html#2614-2623" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Set up or update a push notification watch on the given user mailbox.</p>
|
||
<h1 id="arguments-67" class="section-header"><a href="#arguments-67">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>userId</code> - The user's email address. The special value <code>me</code> can be used to indicate the authenticated user.</li>
|
||
</ul>
|
||
</div></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-MethodsBuilder" class="impl"><code class="in-band">impl<'a, C> <a class="trait" href="../../google_gmail1/client/trait.MethodsBuilder.html" title="trait google_gmail1::client::MethodsBuilder">MethodsBuilder</a> for <a class="struct" href="../../google_gmail1/api/struct.UserMethods.html" title="struct google_gmail1::api::UserMethods">UserMethods</a><'a, C></code><a href="#impl-MethodsBuilder" class="anchor"></a><a class="srclink" href="../../src/google_gmail1/api.rs.html#1307" title="goto source code">[src]</a></h3><div class="impl-items"></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../google_gmail1/api/struct.UserMethods.html" title="struct google_gmail1::api::UserMethods">UserMethods</a><'a, C></code><a href="#impl-RefUnwindSafe" class="anchor"></a><a class="srclink" href="../../src/google_gmail1/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../google_gmail1/api/struct.UserMethods.html" title="struct google_gmail1::api::UserMethods">UserMethods</a><'a, C></code><a href="#impl-Send" class="anchor"></a><a class="srclink" href="../../src/google_gmail1/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../google_gmail1/api/struct.UserMethods.html" title="struct google_gmail1::api::UserMethods">UserMethods</a><'a, C></code><a href="#impl-Sync" class="anchor"></a><a class="srclink" href="../../src/google_gmail1/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl<'a, C> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../google_gmail1/api/struct.UserMethods.html" title="struct google_gmail1::api::UserMethods">UserMethods</a><'a, C></code><a href="#impl-Unpin" class="anchor"></a><a class="srclink" href="../../src/google_gmail1/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../google_gmail1/api/struct.UserMethods.html" title="struct google_gmail1::api::UserMethods">UserMethods</a><'a, C></code><a href="#impl-UnwindSafe" class="anchor"></a><a class="srclink" href="../../src/google_gmail1/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||
</div></div><h3 id="impl-Borrow%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#207-211" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||
</div></div><h3 id="impl-BorrowMut%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-218" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow_mut" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#215" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
||
</div></div><h3 id="impl-From%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href="#impl-From%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#545-549" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -> T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#546" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id="impl-Instrument" class="impl"><code class="in-band">impl<T> <a class="trait" href="../../tracing/instrument/trait.Instrument.html" title="trait tracing::instrument::Instrument">Instrument</a> for T</code><a href="#impl-Instrument" class="anchor"></a><a class="srclink" href="../../src/tracing/instrument.rs.html#155" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.instrument" class="method hidden"><code>pub fn <a href="../../tracing/instrument/trait.Instrument.html#method.instrument" class="fnname">instrument</a>(self, span: <a class="struct" href="../../tracing/span/struct.Span.html" title="struct tracing::span::Span">Span</a>) -> <a class="struct" href="../../tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></code><a class="srclink" href="../../src/tracing/instrument.rs.html#38" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Instruments this type with the provided <code>Span</code>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="../../tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></p>
|
||
</div><h4 id="method.in_current_span" class="method hidden"><code>pub fn <a href="../../tracing/instrument/trait.Instrument.html#method.in_current_span" class="fnname">in_current_span</a>(self) -> <a class="struct" href="../../tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></code><a class="srclink" href="../../src/tracing/instrument.rs.html#74" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Instruments this type with the <a href="../struct.Span.html#method.current">current</a> <code>Span</code>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="../../tracing/instrument/trait.Instrument.html#method.in_current_span">Read more</a></p>
|
||
</div></div><h3 id="impl-Into%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href="#impl-Into%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#534-541" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -> U</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#538" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id="impl-TryFrom%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href="#impl-TryFrom%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#582-591" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Error" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id="method.try_from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fnname">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#588" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id="impl-TryInto%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href="#impl-TryInto%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#568-577" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Error-1" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id="method.try_into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fnname">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#574" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="google_gmail1"></div>
|
||
<script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |