kanidm/docs/v1.1.0-alpha/rustdoc/kanidmd_lib/server/trait.QueryServerTransaction.html
2023-01-15 23:07:10 +00:00

57 lines
77 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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="The `QueryServerTransaction` trait provides a set of common read only operations to be shared between `QueryServerReadTransaction` and `QueryServerWriteTransaction`s."><meta name="keywords" content="rust, rustlang, rust-lang, QueryServerTransaction"><title>QueryServerTransaction in kanidmd_lib::server - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidmd_lib/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidmd_lib/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">QueryServerTransaction</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.AccessControlsTransactionType">AccessControlsTransactionType</a></li><li><a href="#associatedtype.BackendTransactionType">BackendTransactionType</a></li><li><a href="#associatedtype.SchemaTransactionType">SchemaTransactionType</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.get_accesscontrols">get_accesscontrols</a></li><li><a href="#tymethod.get_be_txn">get_be_txn</a></li><li><a href="#tymethod.get_domain_display_name">get_domain_display_name</a></li><li><a href="#tymethod.get_domain_name">get_domain_name</a></li><li><a href="#tymethod.get_domain_uuid">get_domain_uuid</a></li><li><a href="#tymethod.get_resolve_filter_cache">get_resolve_filter_cache</a></li><li><a href="#tymethod.get_resolve_filter_cache_and_be_txn">get_resolve_filter_cache_and_be_txn</a></li><li><a href="#tymethod.get_schema">get_schema</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.clone_partialvalue">clone_partialvalue</a></li><li><a href="#method.clone_value">clone_value</a></li><li><a href="#method.exists">exists</a></li><li><a href="#method.get_db_domain_name">get_db_domain_name</a></li><li><a href="#method.get_domain_es256_private_key">get_domain_es256_private_key</a></li><li><a href="#method.get_domain_fernet_private_key">get_domain_fernet_private_key</a></li><li><a href="#method.get_oauth2rs_set">get_oauth2rs_set</a></li><li><a href="#method.get_password_badlist">get_password_badlist</a></li><li><a href="#method.impersonate_search">impersonate_search</a></li><li><a href="#method.impersonate_search_ext">impersonate_search_ext</a></li><li><a href="#method.impersonate_search_ext_uuid">impersonate_search_ext_uuid</a></li><li><a href="#method.impersonate_search_ext_valid">impersonate_search_ext_valid</a></li><li><a href="#method.impersonate_search_uuid">impersonate_search_uuid</a></li><li><a href="#method.impersonate_search_valid">impersonate_search_valid</a></li><li><a href="#method.internal_exists">internal_exists</a></li><li><a href="#method.internal_search">internal_search</a></li><li><a href="#method.internal_search_uuid">internal_search_uuid</a></li><li><a href="#method.name_to_uuid">name_to_uuid</a></li><li><a href="#method.resolve_valueset">resolve_valueset</a></li><li><a href="#method.resolve_valueset_ldap">resolve_valueset_ldap</a></li><li><a href="#method.search">search</a></li><li><a href="#method.search_ext">search_ext</a></li><li><a href="#method.sync_external_id_to_uuid">sync_external_id_to_uuid</a></li><li><a href="#method.uuid_to_rdn">uuid_to_rdn</a></li><li><a href="#method.uuid_to_spn">uuid_to_spn</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In kanidmd_lib::server</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Trait <a href="../index.html">kanidmd_lib</a>::<wbr><a href="index.html">server</a>::<wbr><a class="trait" href="#">QueryServerTransaction</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidmd_lib/server/mod.rs.html#125-733">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust trait"><code>pub trait QueryServerTransaction&lt;'a&gt; {
type <a href="#associatedtype.BackendTransactionType" class="associatedtype">BackendTransactionType</a>: <a class="trait" href="../be/trait.BackendTransaction.html" title="trait kanidmd_lib::be::BackendTransaction">BackendTransaction</a>;
type <a href="#associatedtype.SchemaTransactionType" class="associatedtype">SchemaTransactionType</a>: <a class="trait" href="../schema/trait.SchemaTransaction.html" title="trait kanidmd_lib::schema::SchemaTransaction">SchemaTransaction</a>;
type <a href="#associatedtype.AccessControlsTransactionType" class="associatedtype">AccessControlsTransactionType</a>: <a class="trait" href="access/trait.AccessControlsTransaction.html" title="trait kanidmd_lib::server::access::AccessControlsTransaction">AccessControlsTransaction</a>&lt;'a&gt;;
<details class="rustdoc-toggle type-contents-toggle"><summary class="hideme"><span>Show 33 methods</span></summary> fn <a href="#tymethod.get_be_txn" class="fnname">get_be_txn</a>(&amp;mut self) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.QueryServerTransaction.html#associatedtype.BackendTransactionType" title="type kanidmd_lib::server::QueryServerTransaction::BackendTransactionType">BackendTransactionType</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.get_schema" class="fnname">get_schema</a>&lt;'b&gt;(&amp;self) -&gt; &amp;'b Self::<a class="associatedtype" href="trait.QueryServerTransaction.html#associatedtype.SchemaTransactionType" title="type kanidmd_lib::server::QueryServerTransaction::SchemaTransactionType">SchemaTransactionType</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.get_accesscontrols" class="fnname">get_accesscontrols</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="trait.QueryServerTransaction.html#associatedtype.AccessControlsTransactionType" title="type kanidmd_lib::server::QueryServerTransaction::AccessControlsTransactionType">AccessControlsTransactionType</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.get_domain_uuid" class="fnname">get_domain_uuid</a>(&amp;self) -&gt; <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.get_domain_name" class="fnname">get_domain_name</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.get_domain_display_name" class="fnname">get_domain_display_name</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.get_resolve_filter_cache" class="fnname">get_resolve_filter_cache</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; &amp;mut ARCacheReadTxn&lt;'a, (<a class="enum" href="identity/enum.IdentityId.html" title="enum kanidmd_lib::server::identity::IdentityId">IdentityId</a>, <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;), <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValidResolved.html" title="struct kanidmd_lib::filter::FilterValidResolved">FilterValidResolved</a>&gt;, <a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.unit.html">()</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.get_resolve_filter_cache_and_be_txn" class="fnname">get_resolve_filter_cache_and_be_txn</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; (&amp;mut Self::<a class="associatedtype" href="trait.QueryServerTransaction.html#associatedtype.BackendTransactionType" title="type kanidmd_lib::server::QueryServerTransaction::BackendTransactionType">BackendTransactionType</a>, &amp;mut ARCacheReadTxn&lt;'a, (<a class="enum" href="identity/enum.IdentityId.html" title="enum kanidmd_lib::server::identity::IdentityId">IdentityId</a>, <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;), <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValidResolved.html" title="struct kanidmd_lib::filter::FilterValidResolved">FilterValidResolved</a>&gt;, <a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.unit.html">()</a>&gt;);
fn <a href="#method.search_ext" class="fnname">search_ext</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;se: &amp;<a class="struct" href="../event/struct.SearchEvent.html" title="struct kanidmd_lib::event::SearchEvent">SearchEvent</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../entry/struct.Entry.html" title="struct kanidmd_lib::entry::Entry">Entry</a>&lt;<a class="struct" href="../entry/struct.EntryReduced.html" title="struct kanidmd_lib::entry::EntryReduced">EntryReduced</a>, <a class="struct" href="../entry/struct.EntryCommitted.html" title="struct kanidmd_lib::entry::EntryCommitted">EntryCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.search" class="fnname">search</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;se: &amp;<a class="struct" href="../event/struct.SearchEvent.html" title="struct kanidmd_lib::event::SearchEvent">SearchEvent</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.exists" class="fnname">exists</a>(&amp;mut self, ee: &amp;<a class="struct" href="../event/struct.ExistsEvent.html" title="struct kanidmd_lib::event::ExistsEvent">ExistsEvent</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.bool.html">bool</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.name_to_uuid" class="fnname">name_to_uuid</a>(&amp;mut self, name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.sync_external_id_to_uuid" class="fnname">sync_external_id_to_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external_id: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.66.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.uuid_to_spn" class="fnname">uuid_to_spn</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.66.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../value/enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.uuid_to_rdn" class="fnname">uuid_to_rdn</a>(&amp;mut self, uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.internal_exists" class="fnname">internal_exists</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.bool.html">bool</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.internal_search" class="fnname">internal_search</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.impersonate_search_valid" class="fnname">impersonate_search_valid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f_valid: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f_intent_valid: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.impersonate_search_ext_valid" class="fnname">impersonate_search_ext_valid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f_valid: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f_intent_valid: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../entry/struct.Entry.html" title="struct kanidmd_lib::entry::Entry">Entry</a>&lt;<a class="struct" href="../entry/struct.EntryReduced.html" title="struct kanidmd_lib::entry::EntryReduced">EntryReduced</a>, <a class="struct" href="../entry/struct.EntryCommitted.html" title="struct kanidmd_lib::entry::EntryCommitted">EntryCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.impersonate_search" class="fnname">impersonate_search</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter_intent: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.impersonate_search_ext" class="fnname">impersonate_search_ext</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter_intent: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../entry/struct.Entry.html" title="struct kanidmd_lib::entry::Entry">Entry</a>&lt;<a class="struct" href="../entry/struct.EntryReduced.html" title="struct kanidmd_lib::entry::EntryReduced">EntryReduced</a>, <a class="struct" href="../entry/struct.EntryCommitted.html" title="struct kanidmd_lib::entry::EntryCommitted">EntryCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.internal_search_uuid" class="fnname">internal_search_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.impersonate_search_ext_uuid" class="fnname">impersonate_search_ext_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../entry/struct.Entry.html" title="struct kanidmd_lib::entry::Entry">Entry</a>&lt;<a class="struct" href="../entry/struct.EntryReduced.html" title="struct kanidmd_lib::entry::EntryReduced">EntryReduced</a>, <a class="struct" href="../entry/struct.EntryCommitted.html" title="struct kanidmd_lib::entry::EntryCommitted">EntryCommitted</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.impersonate_search_uuid" class="fnname">impersonate_search_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.clone_value" class="fnname">clone_value</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attr: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../value/enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.clone_partialvalue" class="fnname">clone_partialvalue</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attr: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../value/enum.PartialValue.html" title="enum kanidmd_lib::value::PartialValue">PartialValue</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.resolve_valueset" class="fnname">resolve_valueset</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="type" href="../valueset/type.ValueSet.html" title="type kanidmd_lib::valueset::ValueSet">ValueSet</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.resolve_valueset_ldap" class="fnname">resolve_valueset_ldap</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="type" href="../valueset/type.ValueSet.html" title="type kanidmd_lib::valueset::ValueSet">ValueSet</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;basedn: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.u8.html">u8</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.get_db_domain_name" class="fnname">get_db_domain_name</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.get_domain_fernet_private_key" class="fnname">get_domain_fernet_private_key</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.get_domain_es256_private_key" class="fnname">get_domain_es256_private_key</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.u8.html">u8</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.get_password_badlist" class="fnname">get_password_badlist</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;HashSet&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.get_oauth2rs_set" class="fnname">get_oauth2rs_set</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt; { ... }
</details>}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The <code>QueryServerTransaction</code> trait provides a set of common read only operations to be
shared between <a href="struct.QueryServerReadTransaction.html"><code>QueryServerReadTransaction</code></a> and <a href="struct.QueryServerWriteTransaction.html"><code>QueryServerWriteTransaction</code></a>s.</p>
<p>These operations tend to be high level constructions, generally different types of searches
that are capable of taking different types of parameters and applying access controls or not,
impersonating accounts, or bypassing these via internal searches.</p>
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><section id="associatedtype.BackendTransactionType" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#126">source</a><h4 class="code-header">type <a href="#associatedtype.BackendTransactionType" class="associatedtype">BackendTransactionType</a>: <a class="trait" href="../be/trait.BackendTransaction.html" title="trait kanidmd_lib::be::BackendTransaction">BackendTransaction</a></h4></section><section id="associatedtype.SchemaTransactionType" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#129">source</a><h4 class="code-header">type <a href="#associatedtype.SchemaTransactionType" class="associatedtype">SchemaTransactionType</a>: <a class="trait" href="../schema/trait.SchemaTransaction.html" title="trait kanidmd_lib::schema::SchemaTransaction">SchemaTransaction</a></h4></section><section id="associatedtype.AccessControlsTransactionType" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#132">source</a><h4 class="code-header">type <a href="#associatedtype.AccessControlsTransactionType" class="associatedtype">AccessControlsTransactionType</a>: <a class="trait" href="access/trait.AccessControlsTransaction.html" title="trait kanidmd_lib::server::access::AccessControlsTransaction">AccessControlsTransaction</a>&lt;'a&gt;</h4></section></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><section id="tymethod.get_be_txn" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#127">source</a><h4 class="code-header">fn <a href="#tymethod.get_be_txn" class="fnname">get_be_txn</a>(&amp;mut self) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.QueryServerTransaction.html#associatedtype.BackendTransactionType" title="type kanidmd_lib::server::QueryServerTransaction::BackendTransactionType">BackendTransactionType</a></h4></section><section id="tymethod.get_schema" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#130">source</a><h4 class="code-header">fn <a href="#tymethod.get_schema" class="fnname">get_schema</a>&lt;'b&gt;(&amp;self) -&gt; &amp;'b Self::<a class="associatedtype" href="trait.QueryServerTransaction.html#associatedtype.SchemaTransactionType" title="type kanidmd_lib::server::QueryServerTransaction::SchemaTransactionType">SchemaTransactionType</a></h4></section><section id="tymethod.get_accesscontrols" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#133">source</a><h4 class="code-header">fn <a href="#tymethod.get_accesscontrols" class="fnname">get_accesscontrols</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="trait.QueryServerTransaction.html#associatedtype.AccessControlsTransactionType" title="type kanidmd_lib::server::QueryServerTransaction::AccessControlsTransactionType">AccessControlsTransactionType</a></h4></section><section id="tymethod.get_domain_uuid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#135">source</a><h4 class="code-header">fn <a href="#tymethod.get_domain_uuid" class="fnname">get_domain_uuid</a>(&amp;self) -&gt; <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a></h4></section><section id="tymethod.get_domain_name" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#137">source</a><h4 class="code-header">fn <a href="#tymethod.get_domain_name" class="fnname">get_domain_name</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a></h4></section><section id="tymethod.get_domain_display_name" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#139">source</a><h4 class="code-header">fn <a href="#tymethod.get_domain_display_name" class="fnname">get_domain_display_name</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a></h4></section><section id="tymethod.get_resolve_filter_cache" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#141-143">source</a><h4 class="code-header">fn <a href="#tymethod.get_resolve_filter_cache" class="fnname">get_resolve_filter_cache</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; &amp;mut ARCacheReadTxn&lt;'a, (<a class="enum" href="identity/enum.IdentityId.html" title="enum kanidmd_lib::server::identity::IdentityId">IdentityId</a>, <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;), <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValidResolved.html" title="struct kanidmd_lib::filter::FilterValidResolved">FilterValidResolved</a>&gt;, <a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.unit.html">()</a>&gt;</h4></section><section id="tymethod.get_resolve_filter_cache_and_be_txn" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#148-153">source</a><h4 class="code-header">fn <a href="#tymethod.get_resolve_filter_cache_and_be_txn" class="fnname">get_resolve_filter_cache_and_be_txn</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; (&amp;mut Self::<a class="associatedtype" href="trait.QueryServerTransaction.html#associatedtype.BackendTransactionType" title="type kanidmd_lib::server::QueryServerTransaction::BackendTransactionType">BackendTransactionType</a>, &amp;mut ARCacheReadTxn&lt;'a, (<a class="enum" href="identity/enum.IdentityId.html" title="enum kanidmd_lib::server::identity::IdentityId">IdentityId</a>, <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;), <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValidResolved.html" title="struct kanidmd_lib::filter::FilterValidResolved">FilterValidResolved</a>&gt;, <a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.unit.html">()</a>&gt;)</h4></section></div><h2 id="provided-methods" class="small-section-header">Provided Methods<a href="#provided-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.search_ext" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#164">source</a><h4 class="code-header">fn <a href="#method.search_ext" class="fnname">search_ext</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;se: &amp;<a class="struct" href="../event/struct.SearchEvent.html" title="struct kanidmd_lib::event::SearchEvent">SearchEvent</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../entry/struct.Entry.html" title="struct kanidmd_lib::entry::Entry">Entry</a>&lt;<a class="struct" href="../entry/struct.EntryReduced.html" title="struct kanidmd_lib::entry::EntryReduced">EntryReduced</a>, <a class="struct" href="../entry/struct.EntryCommitted.html" title="struct kanidmd_lib::entry::EntryCommitted">EntryCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></summary><div class="docblock"><p>Conduct a search and apply access controls to yield a set of entries that
have been reduced to the set of user visible avas. Note that if you provide
a <code>SearchEvent</code> for the internal user, this query will fail. It is invalid for
the <a href="../access/index.html"><code>access</code></a> module to attempt to reduce avas for internal searches, and you
should use <a href="trait.QueryServerTransaction.html#method.search"><code>fn search</code></a> instead.</p>
</div></details><section id="method.search" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#187">source</a><h4 class="code-header">fn <a href="#method.search" class="fnname">search</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;se: &amp;<a class="struct" href="../event/struct.SearchEvent.html" title="struct kanidmd_lib::event::SearchEvent">SearchEvent</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.exists" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#242">source</a><h4 class="code-header">fn <a href="#method.exists" class="fnname">exists</a>(&amp;mut self, ee: &amp;<a class="struct" href="../event/struct.ExistsEvent.html" title="struct kanidmd_lib::event::ExistsEvent">ExistsEvent</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.bool.html">bool</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.name_to_uuid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#263-271">source</a><h4 class="code-header">fn <a href="#method.name_to_uuid" class="fnname">name_to_uuid</a>(&amp;mut self, name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.sync_external_id_to_uuid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#274-283">source</a><h4 class="code-header">fn <a href="#method.sync_external_id_to_uuid" class="fnname">sync_external_id_to_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;external_id: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.66.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.uuid_to_spn" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#285-295">source</a><h4 class="code-header">fn <a href="#method.uuid_to_spn" class="fnname">uuid_to_spn</a>(&amp;mut self, uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.66.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../value/enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.uuid_to_rdn" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#297-302">source</a><h4 class="code-header">fn <a href="#method.uuid_to_rdn" class="fnname">uuid_to_rdn</a>(&amp;mut self, uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.internal_exists" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#305">source</a><h4 class="code-header">fn <a href="#method.internal_exists" class="fnname">internal_exists</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;filter: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.bool.html">bool</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></summary><div class="docblock"><p>From internal, generate an “exists” event and dispatch</p>
</div></details><section id="method.internal_search" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#317">source</a><h4 class="code-header">fn <a href="#method.internal_search" class="fnname">internal_search</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;filter: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.impersonate_search_valid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#329">source</a><h4 class="code-header">fn <a href="#method.impersonate_search_valid" class="fnname">impersonate_search_valid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;f_valid: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;f_intent_valid: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.impersonate_search_ext_valid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#341-349">source</a><h4 class="code-header">fn <a href="#method.impersonate_search_ext_valid" class="fnname">impersonate_search_ext_valid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;f_valid: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;f_intent_valid: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">FilterValid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../entry/struct.Entry.html" title="struct kanidmd_lib::entry::Entry">Entry</a>&lt;<a class="struct" href="../entry/struct.EntryReduced.html" title="struct kanidmd_lib::entry::EntryReduced">EntryReduced</a>, <a class="struct" href="../entry/struct.EntryCommitted.html" title="struct kanidmd_lib::entry::EntryCommitted">EntryCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></summary><div class="docblock"><p>Applies ACP to filter result entries.</p>
</div></details><section id="method.impersonate_search" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#352-365">source</a><h4 class="code-header">fn <a href="#method.impersonate_search" class="fnname">impersonate_search</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;filter: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;filter_intent: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.impersonate_search_ext" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#367">source</a><h4 class="code-header">fn <a href="#method.impersonate_search_ext" class="fnname">impersonate_search_ext</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;filter: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;filter_intent: <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterInvalid.html" title="struct kanidmd_lib::filter::FilterInvalid">FilterInvalid</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../entry/struct.Entry.html" title="struct kanidmd_lib::entry::Entry">Entry</a>&lt;<a class="struct" href="../entry/struct.EntryReduced.html" title="struct kanidmd_lib::entry::EntryReduced">EntryReduced</a>, <a class="struct" href="../entry/struct.EntryCommitted.html" title="struct kanidmd_lib::entry::EntryCommitted">EntryCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.internal_search_uuid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#385">source</a><h4 class="code-header">fn <a href="#method.internal_search_uuid" class="fnname">internal_search_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></summary><div class="docblock"><p>Get a single entry by its UUID. This is used heavily for internal
server operations, especially in login and ACP checks.</p>
</div></details><section id="method.impersonate_search_ext_uuid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#404">source</a><h4 class="code-header">fn <a href="#method.impersonate_search_ext_uuid" class="fnname">impersonate_search_ext_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../entry/struct.Entry.html" title="struct kanidmd_lib::entry::Entry">Entry</a>&lt;<a class="struct" href="../entry/struct.EntryReduced.html" title="struct kanidmd_lib::entry::EntryReduced">EntryReduced</a>, <a class="struct" href="../entry/struct.EntryCommitted.html" title="struct kanidmd_lib::entry::EntryCommitted">EntryCommitted</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.impersonate_search_uuid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#420">source</a><h4 class="code-header">fn <a href="#method.impersonate_search_uuid" class="fnname">impersonate_search_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_value" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#438-510">source</a><h4 class="code-header">fn <a href="#method.clone_value" class="fnname">clone_value</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;attr: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../value/enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></summary><div class="docblock"><p>Do a schema aware conversion from a String:String to String:Value for modification
present.</p>
</div></details><section id="method.clone_partialvalue" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#512-613">source</a><h4 class="code-header">fn <a href="#method.clone_partialvalue" class="fnname">clone_partialvalue</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;attr: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../value/enum.PartialValue.html" title="enum kanidmd_lib::value::PartialValue">PartialValue</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.resolve_valueset" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#616-647">source</a><h4 class="code-header">fn <a href="#method.resolve_valueset" class="fnname">resolve_valueset</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="type" href="../valueset/type.ValueSet.html" title="type kanidmd_lib::valueset::ValueSet">ValueSet</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.resolve_valueset_ldap" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#649-674">source</a><h4 class="code-header">fn <a href="#method.resolve_valueset_ldap" class="fnname">resolve_valueset_ldap</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="type" href="../valueset/type.ValueSet.html" title="type kanidmd_lib::valueset::ValueSet">ValueSet</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;basedn: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.u8.html">u8</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_db_domain_name" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#677-689">source</a><h4 class="code-header">fn <a href="#method.get_db_domain_name" class="fnname">get_db_domain_name</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></summary><div class="docblock"><p>Pull the domain name from the database</p>
</div></details><section id="method.get_domain_fernet_private_key" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#691-702">source</a><h4 class="code-header">fn <a href="#method.get_domain_fernet_private_key" class="fnname">get_domain_fernet_private_key</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.get_domain_es256_private_key" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#704-715">source</a><h4 class="code-header">fn <a href="#method.get_domain_es256_private_key" class="fnname">get_domain_es256_private_key</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.66.1/std/primitive.u8.html">u8</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.get_password_badlist" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#718-728">source</a><h4 class="code-header">fn <a href="#method.get_password_badlist" class="fnname">get_password_badlist</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;HashSet&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.get_oauth2rs_set" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#730-732">source</a><h4 class="code-header">fn <a href="#method.get_oauth2rs_set" class="fnname">get_oauth2rs_set</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.66.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.66.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-QueryServerTransaction%3C%27a%3E-for-QueryServerReadTransaction%3C%27a%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#738-788">source</a><a href="#impl-QueryServerTransaction%3C%27a%3E-for-QueryServerReadTransaction%3C%27a%3E" class="anchor"></a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.QueryServerTransaction.html" title="trait kanidmd_lib::server::QueryServerTransaction">QueryServerTransaction</a>&lt;'a&gt; for <a class="struct" href="struct.QueryServerReadTransaction.html" title="struct kanidmd_lib::server::QueryServerReadTransaction">QueryServerReadTransaction</a>&lt;'a&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.AccessControlsTransactionType-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.AccessControlsTransactionType-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.AccessControlsTransactionType" class="associatedtype">AccessControlsTransactionType</a> = <a class="struct" href="access/struct.AccessControlsReadTransaction.html" title="struct kanidmd_lib::server::access::AccessControlsReadTransaction">AccessControlsReadTransaction</a>&lt;'a&gt;</h4></section><section id="associatedtype.BackendTransactionType-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.BackendTransactionType-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.BackendTransactionType" class="associatedtype">BackendTransactionType</a> = <a class="struct" href="../be/struct.BackendReadTransaction.html" title="struct kanidmd_lib::be::BackendReadTransaction">BackendReadTransaction</a>&lt;'a&gt;</h4></section><section id="associatedtype.SchemaTransactionType-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.SchemaTransactionType-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.SchemaTransactionType" class="associatedtype">SchemaTransactionType</a> = <a class="struct" href="../schema/struct.SchemaReadTransaction.html" title="struct kanidmd_lib::schema::SchemaReadTransaction">SchemaReadTransaction</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-QueryServerTransaction%3C%27a%3E-for-QueryServerWriteTransaction%3C%27a%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#851-902">source</a><a href="#impl-QueryServerTransaction%3C%27a%3E-for-QueryServerWriteTransaction%3C%27a%3E" class="anchor"></a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.QueryServerTransaction.html" title="trait kanidmd_lib::server::QueryServerTransaction">QueryServerTransaction</a>&lt;'a&gt; for <a class="struct" href="struct.QueryServerWriteTransaction.html" title="struct kanidmd_lib::server::QueryServerWriteTransaction">QueryServerWriteTransaction</a>&lt;'a&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.AccessControlsTransactionType-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.AccessControlsTransactionType-2" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.AccessControlsTransactionType" class="associatedtype">AccessControlsTransactionType</a> = <a class="struct" href="access/struct.AccessControlsWriteTransaction.html" title="struct kanidmd_lib::server::access::AccessControlsWriteTransaction">AccessControlsWriteTransaction</a>&lt;'a&gt;</h4></section><section id="associatedtype.BackendTransactionType-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.BackendTransactionType-2" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.BackendTransactionType" class="associatedtype">BackendTransactionType</a> = <a class="struct" href="../be/struct.BackendWriteTransaction.html" title="struct kanidmd_lib::be::BackendWriteTransaction">BackendWriteTransaction</a>&lt;'a&gt;</h4></section><section id="associatedtype.SchemaTransactionType-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.SchemaTransactionType-2" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.SchemaTransactionType" class="associatedtype">SchemaTransactionType</a> = <a class="struct" href="../schema/struct.SchemaWriteTransaction.html" title="struct kanidmd_lib::schema::SchemaWriteTransaction">SchemaWriteTransaction</a>&lt;'a&gt;</h4></section></div></details></div><script src="../../implementors/kanidmd_lib/server/trait.QueryServerTransaction.js" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidmd_lib" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.1 (90743e729 2023-01-10)" ></div></body></html>