<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `ServiceAccountOpt` enum in crate `kanidm_cli`."><title>ServiceAccountOpt in kanidm_cli - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><linkrel="stylesheet"href="../static.files/normalize-76eba96aa4d2e634.css"><linkrel="stylesheet"href="../static.files/rustdoc-c4dbdcde0fbd8430.css"id="mainThemeStyle"><linkrel="stylesheet"id="themeStyle"href="../static.files/light-db279b6232be9c13.css"><linkrel="stylesheet"disabledhref="../static.files/dark-cf923f49f397b216.css"><linkrel="stylesheet"disabledhref="../static.files/ayu-be46fdc453a55015.css"><scriptsrc="../static.files/storage-3891ce972e3a2bf8.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../static.files/main-98a684e84ae5b08b.js"></script><noscript><linkrel="stylesheet"href="../static.files/noscript-13285aec31fa243e.css"></noscript><linkrel="alternate icon"type="image/png"href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><linkrel="alternate icon"type="image/png"href="../static.files/favicon-32x32-422f7d1d52889060.png"><linkrel="icon"type="image/svg+xml"href="../static.files/favicon-2c020d218678b618.svg"></head><bodyclass="rustdoc enum"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle">☰</button><aclass="logo-container"href="../kanidm_cli/index.html"><imgclass="rust-logo"src="../static.files/rust-logo-151179464ae7ed46.svg"alt="logo"></a><h2></h2></nav><navclass="sidebar"><aclass="logo-container"href="../kanidm_cli/index.html"><imgclass="rust-logo"src="../static.files/rust-logo-151179464ae7ed46.svg"alt="logo"></a><h2class="location"><ahref="#">ServiceAccountOpt</a></h2><divclass="sidebar-elems"><section><h3><ahref="#variants">Variants</a></h3><ulclass="block"><li><ahref="#variant.ApiToken">ApiToken</a></li><li><ahref="#variant.Create">Create</a></li><li><ahref="#variant.Credential">Credential</a></li><li><ahref="#variant.Delete">Delete</a></li><li><ahref="#variant.Get">Get</a></li><li><ahref="#variant.IntoPerson">IntoPerson</a></li><li><ahref="#variant.List">List</a></li><li><ahref="#variant.Posix">Posix</a></li><li><ahref="#variant.Session">Session</a></li><li><ahref="#variant.Ssh">Ssh</a></li><li><ahref="#variant.Update">Update</a></li><li><ahref="#variant.Validity">Validity</a></li></ul><h3><ahref="#implementations">Methods</a></h3><ulclass="block"><li><ahref="#method.debug">debug</a></li><li><ahref="#method.exec">exec</a></li></ul><h3><ahref="#trait-implementations">Trait Implementations</a></h3><ulclass="block"><li><ahref="#impl-Debug-for-ServiceAccountOpt">Debug</a></li><li><ahref="#impl-FromArgMatches-for-ServiceAccountOpt">FromArgMatches</a></li><li><ahref="#impl-Subcommand-for-ServiceAccountOpt">Subcommand</a></li></ul><h3><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><ulclass="block"><li><ahref="#impl-RefUnwindSafe-for-ServiceAccountOpt">RefUnwindSafe</a></li><li><ahref="#impl-Send-for-ServiceAccountOpt">Send</a></li><li><ahref="#impl-
}</code></pre><h2id="variants"class="variants small-section-header">Variants<ahref="#variants"class="anchor">§</a></h2><divclass="variants"><sectionid="variant.Credential"class="variant"><ahref="#variant.Credential"class="anchor">§</a><h3class="code-header">Credential</h3></section><divclass="sub-variant"id="variant.Credential.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.Credential.field.commands"class="small-section-header"><ahref="#variant.Credential.field.commands"class="anchor field">§</a><code>commands: <aclass="enum"href="enum.ServiceAccountCredential.html"title="enum kanidm_cli::ServiceAccountCredential">ServiceAccountCredential</a></code></span></div></div><divclass="docblock"><p>Manage the generated password of this service account.</p>
</div><sectionid="variant.ApiToken"class="variant"><ahref="#variant.ApiToken"class="anchor">§</a><h3class="code-header">ApiToken</h3></section><divclass="sub-variant"id="variant.ApiToken.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.ApiToken.field.commands"class="small-section-header"><ahref="#variant.ApiToken.field.commands"class="anchor field">§</a><code>commands: <aclass="enum"href="enum.ServiceAccountApiToken.html"title="enum kanidm_cli::ServiceAccountApiToken">ServiceAccountApiToken</a></code></span></div></div><divclass="docblock"><p>Manage api tokens associated to this service account.</p>
</div><sectionid="variant.Posix"class="variant"><ahref="#variant.Posix"class="anchor">§</a><h3class="code-header">Posix</h3></section><divclass="sub-variant"id="variant.Posix.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.Posix.field.commands"class="small-section-header"><ahref="#variant.Posix.field.commands"class="anchor field">§</a><code>commands: <aclass="enum"href="enum.ServiceAccountPosix.html"title="enum kanidm_cli::ServiceAccountPosix">ServiceAccountPosix</a></code></span></div></div><divclass="docblock"><p>Manage posix extensions for this service account allowing access to unix/linux systems</p>
</div><sectionid="variant.Session"class="variant"><ahref="#variant.Session"class="anchor">§</a><h3class="code-header">Session</h3></section><divclass="sub-variant"id="variant.Session.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.Session.field.commands"class="small-section-header"><ahref="#variant.Session.field.commands"class="anchor field">§</a><code>commands: <aclass="enum"href="enum.AccountUserAuthToken.html"title="enum kanidm_cli::AccountUserAuthToken">AccountUserAuthToken</a></code></span></div></div><divclass="docblock"><p>Manage sessions (user auth tokens) associated to this service account.</p>
</div><sectionid="variant.Ssh"class="variant"><ahref="#variant.Ssh"class="anchor">§</a><h3class="code-header">Ssh</h3></section><divclass="sub-variant"id="variant.Ssh.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.Ssh.field.commands"class="small-section-header"><ahref="#variant.Ssh.field.commands"class="anchor field">§</a><code>commands: <aclass="enum"href="enum.AccountSsh.html"title="enum kanidm_cli::AccountSsh">AccountSsh</a></code></span></div></div><divclass="docblock"><p>Manage ssh public key’s associated to this person</p>
</div><sectionid="variant.List"class="variant"><ahref="#variant.List"class="anchor">§</a><h3class="code-header">List(<aclass="struct"href="struct.CommonOpt.html"title="struct kanidm_cli::CommonOpt">CommonOpt</a>)</h3></section><divclass="docblock"><p>List all service accounts</p>
</div><sectionid="variant.Get"class="variant"><ahref="#variant.Get"class="anchor">§</a><h3class="code-header">Get(<aclass="struct"href="struct.AccountNamedOpt.html"title="struct kanidm_cli::AccountNamedOpt">AccountNamedOpt</a>)</h3></section><divclass="docblock"><p>View a specific service account</p>
</div><sectionid="variant.Create"class="variant"><ahref="#variant.Create"class="anchor">§</a><h3class="code-header">Create(<aclass="struct"href="struct.AccountCreateOpt.html"title="struct kanidm_cli::AccountCreateOpt">AccountCreateOpt</a>)</h3></section><divclass="docblock"><p>Create a new service account</p>
</div><sectionid="variant.Update"class="variant"><ahref="#variant.Update"class="anchor">§</a><h3class="code-header">Update(<aclass="struct"href="struct.ServiceAccountUpdateOpt.html"title="struct kanidm_cli::ServiceAccountUpdateOpt">ServiceAccountUpdateOpt</a>)</h3></section><divclass="docblock"><p>Update a specific service account’s attributes</p>
</div><sectionid="variant.Delete"class="variant"><ahref="#variant.Delete"class="anchor">§</a><h3class="code-header">Delete(<aclass="struct"href="struct.AccountNamedOpt.html"title="struct kanidm_cli::AccountNamedOpt">AccountNamedOpt</a>)</h3></section><divclass="docblock"><p>Delete a service account</p>
</div><sectionid="variant.Validity"class="variant"><ahref="#variant.Validity"class="anchor">§</a><h3class="code-header">Validity</h3></section><divclass="sub-variant"id="variant.Validity.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.Validity.field.commands"class="small-section-header"><ahref="#variant.Validity.field.commands"class="anchor field">§</a><code>commands: <aclass="enum"href="enum.AccountValidity.html"title="enum kanidm_cli::AccountValidity">AccountValidity</a></code></span></div></div><divclass="docblock"><p>Manage a service account validity, such as expiry time (account lock/unlock)</p>
</div><sectionid="variant.IntoPerson"class="variant"><ahref="#variant.IntoPerson"class="anchor">§</a><h3class="code-header">IntoPerson(<aclass="struct"href="struct.AccountNamedOpt.html"title="struct kanidm_cli::AccountNamedOpt">AccountNamedOpt</a>)</h3></section><divclass="docblock"><p>Convert a service account into a person. This is used during the alpha.9
</div></div><h2id="implementations"class="small-section-header">Implementations<ahref="#implementations"class="anchor">§</a></h2><divid="implementations-list"><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="../src/kanidm_cli/serviceaccount.rs.html#10-512">source</a><ahref="#impl-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl <aclass="enum"href="enum.ServiceAccountOpt.html"title="enum kanidm_cli::ServiceAccountOpt">ServiceAccountOpt</a></h3></section></summary><divclass="impl-items"><sectionid="method.debug"class="method"><aclass="srclink rightside"href="../src/kanidm_cli/serviceaccount.rs.html#11-47">source</a><h4class="code-header">pub fn <ahref="#method.debug"class="fn">debug</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.69.0/std/primitive.bool.html">bool</a></h4></section><sectionid="method.exec"class="method"><aclass="srclink rightside"href="../src/kanidm_cli/serviceaccount.rs.html#49-511">source</a><h4class="code-header">pub async fn <ahref="#method.exec"class="fn">exec</a>(&self)</h4></section></div></details></div><h2id="trait-implementations"class="small-section-header">Trait Implementations<ahref="#trait-implementations"class="anchor">§</a></h2><divid="trait-implementations-list"><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Debug-for-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="../src/kanidm_cli/opt/kanidm.rs.html#429">source</a><ahref="#impl-Debug-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="enum"href="enum.ServiceAccountOpt.html"title="enum kanidm_cli::ServiceAccountOpt">ServiceAccountOpt</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.fmt"class="method trait-impl"><aclass="srclink rightside"href="../src/kanidm_cli/opt/kanidm.rs.html#429">source</a><ahref="#method.fmt"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.69.0/core/fmt/trait.Debug.html#tymethod.fmt"class="fn">fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/1.69.0/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/1.69.0/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></h4></section></summary><divclass='docblock'>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/1.69.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-FromArgMatches-for-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="../src/kanidm_cli/opt/kanidm.rs.html#429">source</a><ahref="#impl-FromArgMatches-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl FromArgMatches for <aclass="enum"href="enum.ServiceAccountOpt.html"title="enum kanidm_cli::ServiceAccountOpt">ServiceAccountOpt</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.from_arg_matches"class="method trait-impl"><aclass="srclink rightside"href="../src/kanidm_cli/opt/kanidm.rs.html#429">source</a><ahref="#method.from_arg_matches"class="anchor">§</a><h4class="code-header">fn <aclass="fn">from_arg_matches</a>(__clap_arg_matches: &ArgMatches) -><aclass="enum"href="https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Self, Error></h4></section></summary><divclass='docblock'>Instantiate <code>Self</code> from [<code>ArgMatches</code>], parsing the arguments as needed. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><su
__clap_arg_matches: &mut ArgMatches
) -><aclass="enum"href="https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Self, Error></h4></section></summary><divclass='docblock'>Instantiate <code>Self</code> from [<code>ArgMatches</code>], parsing the arguments as needed. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.update_from_arg_matches"class="method trait-impl"><aclass="srclink rightside"href="../src/kanidm_cli/opt/kanidm.rs.html#429">source</a><ahref="#method.update_from_arg_matches"class="anchor">§</a><h4class="code-header">fn <aclass="fn">update_from_arg_matches</a>(
&mut self,
__clap_arg_matches: &ArgMatches
) -><aclass="enum"href="https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/1.69.0/std/primitive.unit.html">()</a>, Error></h4></section></summary><divclass='docblock'>Assign values from <code>ArgMatches</code> to <code>self</code>.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.update_from_arg_matches_mut"class="method trait-impl"><aclass="srclink rightside"href="../src/kanidm_cli/opt/kanidm.rs.html#429">source</a><ahref="#method.update_from_arg_matches_mut"class="anchor">§</a><h4class="code-header">fn <aclass="fn">update_from_arg_matches_mut</a><'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -><aclass="enum"href="https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/1.69.0/std/primitive.unit.html">()</a>, Error></h4></section></summary><divclass='docblock'>Assign values from <code>ArgMatches</code> to <code>self</code>.</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Subcommand-for-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="../src/kanidm_cli/opt/kanidm.rs.html#429">source</a><ahref="#impl-Subcommand-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl Subcommand for <aclass="enum"href="enum.ServiceAccountOpt.html"title="enum kanidm_cli::ServiceAccountOpt">ServiceAccountOpt</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.augment_subcommands"class="method trait-impl"><aclass="srclink rightside"href="../src/kanidm_cli/opt/kanidm.rs.html#429">source</a><ahref="#method.augment_subcommands"class="anchor">§</a><h4class="code-header">fn <aclass="fn">augment_subcommands</a><'b>(__clap_app: Command<'b>) -> Command<'b></h4></section></summary><divclass='docblock'>Append to [<code>Command</code>] so it can instantiate <code>Self</code>. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.augment_subcommands_for_update"class="method trait-impl"><aclass="srclink rightside"href="../src/kanidm_cli/opt/kanidm.rs.html#429">source</a><ahref="#method.augment_subcommands_for_update"class="anchor">§</a><h4class="code-header">fn <aclass="fn">augment_subcommands_for_update</a><'b>(__clap_app: Command<'b>) -> Command<'b></h4></section></summary><divclass='docblock'>Append to [<code>Command</code>] so it can update <code>self</code>. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.has_subcommand"class="method trait-impl"><aclass="srclink rightside"href="../src/kanidm_cli/opt/kanidm.rs.html#429">source</a><ahref="#method.has_subcommand"class="anchor">§</a><h4class="code-header">fn <aclass="fn">has_subcommand</a>(__clap_name: &<aclass="primitive"href="https://doc.rust-lang.org/1.69.0/std/primitive.str.html">str</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.69.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>Test whether <code>Self</code> can parse a specific subcommand</div></details></div></details></div><h2id="synthetic-implementations"class="small-section-header">Auto Trait Implementations<ahref="#synthetic-implementations"class="anchor">§</a></h2><divid="synthetic-implementations-list"><sectionid="impl-RefUnwindSafe-for-ServiceAccountOpt"class="impl"><ahref="#impl-RefUnwindSafe-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/panic/unwind_safe/trait.RefUnwindSafe.html"title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <aclass="enum"href="enum.ServiceAccountOpt.html"title="enum kanidm_cli::ServiceAccountOpt">ServiceAccountOpt</a></h3></section><sectionid="impl-Send-for-ServiceAccountOpt"class="impl"><ahref="#impl-Send-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="enum"href="enum.ServiceAccountOpt.html"title="enum kanidm_cli::ServiceAccountOpt">ServiceAccountOpt</a></h3></section><sectionid="impl-Sync-for-ServiceAccountOpt"class="impl"><ahref="#impl-Sync-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="enum"href="enum.ServiceAccountOpt.html"title
T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.type_id"class="method trait-impl"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.69.0/src/core/any.rs.html#201">source</a><ahref="#method.type_id"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.69.0/core/any/trait.Any.html#tymethod.type_id"class="fn">type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.69.0/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></h4></section></summary><divclass='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/1.69.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Borrow%3CT%3E-for-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.69.0/src/core/borrow.rs.html#211">source</a><ahref="#impl-Borrow%3CT%3E-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T<spanclass="where fmt-newline">where
T: ?<aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.borrow"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/91522"title="Tracking issue for const_borrow">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.69.0/src/core/borrow.rs.html#213">source</a></span><ahref="#method.borrow"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.69.0/core/borrow/trait.Borrow.html#tymethod.borrow"class="fn">borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.69.0/std/primitive.reference.html">&T</a></h4></section></summary><divclass='docblock'>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.69.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-BorrowMut%3CT%3E-for-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.69.0/src/core/borrow.rs.html#220">source</a><ahref="#impl-BorrowMut%3CT%3E-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<spanclass="where fmt-newline">where
T: ?<aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.borrow_mut"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/91522"title="Tracking issue for const_borrow">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.69.0/src/core/borrow.rs.html#221">source</a></span><ahref="#method.borrow_mut"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.69.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"class="fn">borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/1.69.0/std/primitive.reference.html">&mut T</a></h4></section></summary><divclass='docblock'>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.69.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-From%3CT%3E-for-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.69.0/src/core/convert/mod.rs.html#733">source</a><ahref="#impl-From%3CT%3E-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.from"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.69.0/src/core/convert/mod.rs.html#736">source</a></span><ahref="#method.from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.69.0/core/convert/trait.From.html#tymethod.from"class="fn">from</a>(t: T) -> T</h4></section></summary><divclass="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Instrument-for-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#276">source</a><ahref="#impl-Instrument-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.instrument"class="method trait-impl"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#82">source</a><ahref="#method.instrument"class="anchor">§</a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument"class="fn">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'>Instruments this type with the provided <ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"title="struct tracing::span::Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.in_current_span"class="method trait-impl"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#121">source</a><ahref="#method.in_current_span"class="anchor">§</a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span"class="fn">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'>Instruments this type with the <ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html#method.current"title="associated function tracing::span::Span::current">current</a><ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"title="struct tracing::span::Span"><code>Span</code></a>, returning an
<code><ahref="https://doc.rust-lang.org/1.69.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Same%3CT%3E-for-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="https://docs.rs/typenum/1.16.0/src/typenum/type_operators.rs.html#34">source</a><ahref="#impl-Same%3CT%3E-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html"title="trait typenum::type_operators::Same">Same</a><T> for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Output"class="associatedtype trait-impl"><ahref="#associatedtype.Output"class="anchor">§</a><h4class="code-header">type <ahref="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html#associatedtype.Output"class="associatedtype">Output</a> = T</h4></section></summary><divclass='docblock'>Should always be <code>Self</code></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.69.0/src/core/convert/mod.rs.html#775">source</a><ahref="#impl-TryFrom%3CU%3E-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T<spanclass="where fmt-newline">where
U: <aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Error"class="associatedtype trait-impl"><ahref="#associatedtype.Error"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.69.0/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></section></summary><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_from"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.69.0/src/core/convert/mod.rs.html#781">source</a></span><ahref="#method.try_from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryFrom.html#tymethod.try_from"class="fn">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'>Performs the conversion.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E-for-ServiceAccountOpt"class="impl"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.69.0/src/core/convert/mod.rs.html#760">source</a><ahref="#impl-TryInto%3CU%3E-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T<spanclass="where fmt-newline">where
U: <aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Error-1"class="associatedtype trait-impl"><ahref="#associatedtype.Error-1"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_into"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.69.0/src/core/convert/mod.rs.html#766">source</a></span><ahref="#method.try_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryInto.html#tymethod.try_into"class="fn">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'>Performs the conversion.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-VZip%3CV%3E-for-ServiceAccountOpt"class="impl"><ahref="#impl-VZip%3CV%3E-for-ServiceAccountOpt"class="anchor">§</a><h3class="code-header">impl<V, T> VZip<V> for T<spanclass="where fmt-newline">where
S: <aclass="trait"href="https://doc.rust-lang.org/1.69.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="struct"href="https://docs.rs/tracing-core/0.1.22/tracing_core/dispatcher/struct.Dispatch.html"title="struct tracing_core::dispatcher::Dispatch">Dispatch</a>>,</span></h4></section></summary><divclass='docblock'>Attaches the provided <ahref="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"title="trait tracing_core::subscriber::Subscriber"><code>Subscriber</code></a> to this type, returning a
<ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.with_current_subscriber"class="method trait-impl"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#221">source</a><ahref="#method.with_current_subscriber"class="anchor">§</a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber"class="fn">with_current_subscriber</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self></h4></section></summary><divclass='docblock'>Attaches the current <ahref="https://docs.rs/tracing/0.1.37/tracing/dispatcher/index.html#setting-the-default-subscriber"title="mod tracing::dispatcher">default</a><ahref="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"title="trait tracing_core::subscriber::Subscriber"><code>Subscriber</code></a> to this type, returning a