kanidm/docs/master/rustdoc/kanidmd_lib/value/enum.Value.html
2023-03-06 04:13:16 +00:00

55 lines
128 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="A value is a complete unit of data for an attribute. It is made up of a PartialValue, which is used for selection, filtering, searching, matching etc. It also contains supplemental data which may be stored inside of the Value, such as credential secrets, blobs etc."><meta name="keywords" content="rust, rustlang, rust-lang, Value"><title>Value in kanidmd_lib::value - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-124a1ca42af929b6.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-6827029ac823cab7.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../../static.files/light-ebce58d0a40c3431.css"><link rel="stylesheet" disabled href="../../static.files/dark-f23faae4a2daf9a6.css"><link rel="stylesheet" disabled href="../../static.files/ayu-8af5e100b21cd173.css"><script id="default-settings" ></script><script src="../../static.files/storage-d43fa987303ecbbb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c55e1eb52e1886b4.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc enum"><!--[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="../../static.files/rust-logo-151179464ae7ed46.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="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2 class="location"><a href="#">Value</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block"><li><a href="#variant.Address">Address</a></li><li><a href="#variant.ApiToken">ApiToken</a></li><li><a href="#variant.Bool">Bool</a></li><li><a href="#variant.Cid">Cid</a></li><li><a href="#variant.Cred">Cred</a></li><li><a href="#variant.DateTime">DateTime</a></li><li><a href="#variant.DeviceKey">DeviceKey</a></li><li><a href="#variant.EmailAddress">EmailAddress</a></li><li><a href="#variant.Iname">Iname</a></li><li><a href="#variant.Index">Index</a></li><li><a href="#variant.IntentToken">IntentToken</a></li><li><a href="#variant.Iutf8">Iutf8</a></li><li><a href="#variant.JsonFilt">JsonFilt</a></li><li><a href="#variant.JwsKeyEs256">JwsKeyEs256</a></li><li><a href="#variant.JwsKeyRs256">JwsKeyRs256</a></li><li><a href="#variant.Nsuniqueid">Nsuniqueid</a></li><li><a href="#variant.Oauth2Session">Oauth2Session</a></li><li><a href="#variant.OauthScope">OauthScope</a></li><li><a href="#variant.OauthScopeMap">OauthScopeMap</a></li><li><a href="#variant.Passkey">Passkey</a></li><li><a href="#variant.PhoneNumber">PhoneNumber</a></li><li><a href="#variant.PrivateBinary">PrivateBinary</a></li><li><a href="#variant.PublicBinary">PublicBinary</a></li><li><a href="#variant.Refer">Refer</a></li><li><a href="#variant.RestrictedString">RestrictedString</a></li><li><a href="#variant.SecretValue">SecretValue</a></li><li><a href="#variant.Session">Session</a></li><li><a href="#variant.Spn">Spn</a></li><li><a href="#variant.SshKey">SshKey</a></li><li><a href="#variant.Syntax">Syntax</a></li><li><a href="#variant.TotpSecret">TotpSecret</a></li><li><a href="#variant.TrustedDeviceEnrollment">TrustedDeviceEnrollment</a></li><li><a href="#variant.UiHint">UiHint</a></li><li><a href="#variant.Uint32">Uint32</a></li><li><a href="#variant.Url">Url</a></li><li><a href="#variant.Utf8">Utf8</a></li><li><a href="#variant.Uuid">Uuid</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block"><li><a href="#method.as_json_filter">as_json_filter</a></li><li><a href="#method.as_string">as_string</a></li><li><a href="#method.get_secret_str">get_secret_str</a></li><li><a href="#method.get_sshkey">get_sshkey</a></li><li><a href="#method.is_bool">is_bool</a></li><li><a href="#method.is_cid">is_cid</a></li><li><a href="#method.is_credential">is_credential</a></li><li><a href="#method.is_datetime">is_datetime</a></li><li><a href="#method.is_email_address">is_email_address</a></li><li><a href="#method.is_iname">is_iname</a></li><li><a href="#method.is_index">is_index</a></li><li><a href="#method.is_insensitive_utf8">is_insensitive_utf8</a></li><li><a href="#method.is_iutf8">is_iutf8</a></li><li><a href="#method.is_json_filter">is_json_filter</a></li><li><a href="#method.is_nsuniqueid">is_nsuniqueid</a></li><li><a href="#method.is_oauthscope">is_oauthscope</a></li><li><a href="#method.is_oauthscopemap">is_oauthscopemap</a></li><li><a href="#method.is_privatebinary">is_privatebinary</a></li><li><a href="#method.is_refer">is_refer</a></li><li><a href="#method.is_secret_string">is_secret_string</a></li><li><a href="#method.is_spn">is_spn</a></li><li><a href="#method.is_sshkey">is_sshkey</a></li><li><a href="#method.is_syntax">is_syntax</a></li><li><a href="#method.is_uint32">is_uint32</a></li><li><a href="#method.is_url">is_url</a></li><li><a href="#method.is_utf8">is_utf8</a></li><li><a href="#method.is_uuid">is_uuid</a></li><li><a href="#method.migrate_iutf8_iname">migrate_iutf8_iname</a></li><li><a href="#method.new_address">new_address</a></li><li><a href="#method.new_attr">new_attr</a></li><li><a href="#method.new_bool">new_bool</a></li><li><a href="#method.new_bools">new_bools</a></li><li><a href="#method.new_cid">new_cid</a></li><li><a href="#method.new_class">new_class</a></li><li><a href="#method.new_credential">new_credential</a></li><li><a href="#method.new_datetime">new_datetime</a></li><li><a href="#method.new_datetime_epoch">new_datetime_epoch</a></li><li><a href="#method.new_datetime_s">new_datetime_s</a></li><li><a href="#method.new_email_address_primary_s">new_email_address_primary_s</a></li><li><a href="#method.new_email_address_s">new_email_address_s</a></li><li><a href="#method.new_iname">new_iname</a></li><li><a href="#method.new_index">new_index</a></li><li><a href="#method.new_indexes">new_indexes</a></li><li><a href="#method.new_iutf8">new_iutf8</a></li><li><a href="#method.new_json_filter">new_json_filter</a></li><li><a href="#method.new_json_filter_s">new_json_filter_s</a></li><li><a href="#method.new_nsuniqueid_s">new_nsuniqueid_s</a></li><li><a href="#method.new_oauthscope">new_oauthscope</a></li><li><a href="#method.new_oauthscopemap">new_oauthscopemap</a></li><li><a href="#method.new_phonenumber_s">new_phonenumber_s</a></li><li><a href="#method.new_privatebinary">new_privatebinary</a></li><li><a href="#method.new_publicbinary">new_publicbinary</a></li><li><a href="#method.new_refer_s">new_refer_s</a></li><li><a href="#method.new_restrictedstring">new_restrictedstring</a></li><li><a href="#method.new_secret_str">new_secret_str</a></li><li><a href="#method.new_spn_parse">new_spn_parse</a></li><li><a href="#method.new_spn_str">new_spn_str</a></li><li><a href="#method.new_sshkey">new_sshkey</a></li><li><a href="#method.new_sshkey_str">new_sshkey_str</a></li><li><a href="#method.new_syntax">new_syntax</a></li><li><a href="#method.new_syntaxs">new_syntaxs</a></li><li><a href="#method.new_uint32">new_uint32</a></li><li><a href="#method.new_uint32_str">new_uint32_str</a></li><li><a href="#method.new_url">new_url</a></li><li><a href="#method.new_url_s">new_url_s</a></li><li><a href="#method.new_utf8">new_utf8</a></li><li><a href="#method.new_utf8s">new_utf8s</a></li><li><a href="#method.new_uuid_s">new_uuid_s</a></li><li><a href="#method.to_address">to_address</a></li><li><a href="#method.to_bool">to_bool</a></li><li><a href="#method.to_cid">to_cid</a></li><li><a href="#method.to_cred">to_cred</a></li><li><a href="#method.to_credential">to_credential</a></li><li><a href="#method.to_datetime">to_datetime</a></li><li><a href="#method.to_emailaddress">to_emailaddress</a></li><li><a href="#method.to_iname">to_iname</a></li><li><a href="#method.to_indextype">to_indextype</a></li><li><a href="#method.to_intenttoken">to_intenttoken</a></li><li><a href="#method.to_iutf8">to_iutf8</a></li><li><a href="#method.to_jsonfilt">to_jsonfilt</a></li><li><a href="#method.to_nsuniqueid">to_nsuniqueid</a></li><li><a href="#method.to_oauthscope">to_oauthscope</a></li><li><a href="#method.to_oauthscopemap">to_oauthscopemap</a></li><li><a href="#method.to_phonenumber">to_phonenumber</a></li><li><a href="#method.to_privatebinary">to_privatebinary</a></li><li><a href="#method.to_publicbinary">to_publicbinary</a></li><li><a href="#method.to_ref_uuid">to_ref_uuid</a></li><li><a href="#method.to_restrictedstring">to_restrictedstring</a></li><li><a href="#method.to_session">to_session</a></li><li><a href="#method.to_spn">to_spn</a></li><li><a href="#method.to_sshkey">to_sshkey</a></li><li><a href="#method.to_str">to_str</a></li><li><a href="#method.to_syntaxtype">to_syntaxtype</a></li><li><a href="#method.to_trusteddeviceenrollment">to_trusteddeviceenrollment</a></li><li><a href="#method.to_uint32">to_uint32</a></li><li><a href="#method.to_url">to_url</a></li><li><a href="#method.to_utf8">to_utf8</a></li><li><a href="#method.to_uuid">to_uuid</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-Clone-for-Value">Clone</a></li><li><a href="#impl-Debug-for-Value">Debug</a></li><li><a href="#impl-Eq-for-Value">Eq</a></li><li><a href="#impl-From%3C%26bool%3E-for-Value">From&lt;&amp;bool&gt;</a></li><li><a href="#impl-From%3CDbIdentSpn%3E-for-Value">From&lt;DbIdentSpn&gt;</a></li><li><a href="#impl-From%3CFilter%3E-for-Value">From&lt;Filter&gt;</a></li><li><a href="#impl-From%3CIndexType%3E-for-Value">From&lt;IndexType&gt;</a></li><li><a href="#impl-From%3COffsetDateTime%3E-for-Value">From&lt;OffsetDateTime&gt;</a></li><li><a href="#impl-From%3CSyntaxType%3E-for-Value">From&lt;SyntaxType&gt;</a></li><li><a href="#impl-From%3CUrl%3E-for-Value">From&lt;Url&gt;</a></li><li><a href="#impl-From%3Cbool%3E-for-Value">From&lt;bool&gt;</a></li><li><a href="#impl-From%3Cu32%3E-for-Value">From&lt;u32&gt;</a></li><li><a href="#impl-PartialEq%3CValue%3E-for-Value">PartialEq&lt;Value&gt;</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-Value">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Value">Send</a></li><li><a href="#impl-Sync-for-Value">Sync</a></li><li><a href="#impl-Unpin-for-Value">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Value">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-Value">Any</a></li><li><a href="#impl-AsTaggedExplicit%3C%27a%3E-for-Value">AsTaggedExplicit&lt;&#39;a&gt;</a></li><li><a href="#impl-AsTaggedImplicit%3C%27a%3E-for-Value">AsTaggedImplicit&lt;&#39;a&gt;</a></li><li><a href="#impl-Borrow%3CT%3E-for-Value">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-Value">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-DynClone-for-Value">DynClone</a></li><li><a href="#impl-From%3CT%3E-for-Value">From&lt;T&gt;</a></li><li><a href="#impl-Instrument-for-Value">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-Value">Into&lt;U&gt;</a></li><li><a href="#impl-Pointable-for-Value">Pointable</a></li><li><a href="#impl-Same%3CT%3E-for-Value">Same&lt;T&gt;</a></li><li><a href="#impl-ToOwned-for-Value">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-Value">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-Value">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-Value">VZip&lt;V&gt;</a></li><li><a href="#impl-WithSubscriber-for-Value">WithSubscriber</a></li></ul></section><h2><a href="index.html">In kanidmd_lib::value</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" 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="../../static.files/wheel-5ec35bf9ca753509.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Enum <a href="../index.html">kanidmd_lib</a>::<wbr><a href="index.html">value</a>::<wbr><a class="enum" href="#">Value</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidmd_lib/value.rs.html#794-839">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><div class="item-decl"><pre class="rust enum"><code>pub enum Value {
<details class="rustdoc-toggle type-contents-toggle"><summary class="hideme"><span>Show 37 variants</span></summary> Utf8(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
Iutf8(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
Iname(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
Uuid(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>),
Bool(<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>),
Syntax(<a class="enum" href="enum.SyntaxType.html" title="enum kanidmd_lib::value::SyntaxType">SyntaxType</a>),
Index(<a class="enum" href="enum.IndexType.html" title="enum kanidmd_lib::value::IndexType">IndexType</a>),
Refer(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>),
JsonFilt(<a class="enum" href="../../kanidm_proto/v1/enum.Filter.html" title="enum kanidm_proto::v1::Filter">ProtoFilter</a>),
Cred(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="struct" href="../credential/struct.Credential.html" title="struct kanidmd_lib::credential::Credential">Credential</a>),
SshKey(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
SecretValue(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
Spn(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
Uint32(<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u32.html">u32</a>),
Cid(Cid),
Nsuniqueid(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
DateTime(OffsetDateTime),
EmailAddress(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>),
PhoneNumber(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>),
Address(<a class="struct" href="struct.Address.html" title="struct kanidmd_lib::value::Address">Address</a>),
Url(<a class="struct" href="../prelude/struct.Url.html" title="struct kanidmd_lib::prelude::Url">Url</a>),
OauthScope(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
OauthScopeMap(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="../idm/authsession/struct.Set.html" title="struct kanidmd_lib::idm::authsession::Set">BTreeSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;),
PrivateBinary(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>&gt;),
PublicBinary(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>&gt;),
RestrictedString(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
IntentToken(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="enum" href="enum.IntentTokenState.html" title="enum kanidmd_lib::value::IntentTokenState">IntentTokenState</a>),
Passkey(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;PasskeyV4),
DeviceKey(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;DeviceKeyV4),
TrustedDeviceEnrollment(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>),
Session(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="struct.Session.html" title="struct kanidmd_lib::value::Session">Session</a>),
ApiToken(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="struct.ApiToken.html" title="struct kanidmd_lib::value::ApiToken">ApiToken</a>),
Oauth2Session(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="struct.Oauth2Session.html" title="struct kanidmd_lib::value::Oauth2Session">Oauth2Session</a>),
JwsKeyEs256(JwsSigner),
JwsKeyRs256(JwsSigner),
UiHint(<a class="enum" href="../../kanidm_proto/v1/enum.UiHint.html" title="enum kanidm_proto::v1::UiHint">UiHint</a>),
TotpSecret(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="struct" href="../credential/totp/struct.Totp.html" title="struct kanidmd_lib::credential::totp::Totp">Totp</a>),
</details>}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A value is a complete unit of data for an attribute. It is made up of a PartialValue, which is
used for selection, filtering, searching, matching etc. It also contains supplemental data
which may be stored inside of the Value, such as credential secrets, blobs etc.</p>
<p>This type is used when you need the “full data” of an attribute. Typically this is in a create
or modification operation where you are applying a set of complete values into an entry.</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Utf8" class="variant"><a href="#variant.Utf8" class="anchor">§</a><h3 class="code-header">Utf8(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><section id="variant.Iutf8" class="variant"><a href="#variant.Iutf8" class="anchor">§</a><h3 class="code-header">Iutf8(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><section id="variant.Iname" class="variant"><a href="#variant.Iname" class="anchor">§</a><h3 class="code-header">Iname(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><div class="docblock"><p>Case insensitive Name for a thing?</p>
</div><section id="variant.Uuid" class="variant"><a href="#variant.Uuid" class="anchor">§</a><h3 class="code-header">Uuid(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>)</h3></section><section id="variant.Bool" class="variant"><a href="#variant.Bool" class="anchor">§</a><h3 class="code-header">Bool(<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>)</h3></section><section id="variant.Syntax" class="variant"><a href="#variant.Syntax" class="anchor">§</a><h3 class="code-header">Syntax(<a class="enum" href="enum.SyntaxType.html" title="enum kanidmd_lib::value::SyntaxType">SyntaxType</a>)</h3></section><section id="variant.Index" class="variant"><a href="#variant.Index" class="anchor">§</a><h3 class="code-header">Index(<a class="enum" href="enum.IndexType.html" title="enum kanidmd_lib::value::IndexType">IndexType</a>)</h3></section><section id="variant.Refer" class="variant"><a href="#variant.Refer" class="anchor">§</a><h3 class="code-header">Refer(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>)</h3></section><section id="variant.JsonFilt" class="variant"><a href="#variant.JsonFilt" class="anchor">§</a><h3 class="code-header">JsonFilt(<a class="enum" href="../../kanidm_proto/v1/enum.Filter.html" title="enum kanidm_proto::v1::Filter">ProtoFilter</a>)</h3></section><section id="variant.Cred" class="variant"><a href="#variant.Cred" class="anchor">§</a><h3 class="code-header">Cred(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="struct" href="../credential/struct.Credential.html" title="struct kanidmd_lib::credential::Credential">Credential</a>)</h3></section><section id="variant.SshKey" class="variant"><a href="#variant.SshKey" class="anchor">§</a><h3 class="code-header">SshKey(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><section id="variant.SecretValue" class="variant"><a href="#variant.SecretValue" class="anchor">§</a><h3 class="code-header">SecretValue(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><section id="variant.Spn" class="variant"><a href="#variant.Spn" class="anchor">§</a><h3 class="code-header">Spn(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><section id="variant.Uint32" class="variant"><a href="#variant.Uint32" class="anchor">§</a><h3 class="code-header">Uint32(<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u32.html">u32</a>)</h3></section><section id="variant.Cid" class="variant"><a href="#variant.Cid" class="anchor">§</a><h3 class="code-header">Cid(Cid)</h3></section><section id="variant.Nsuniqueid" class="variant"><a href="#variant.Nsuniqueid" class="anchor">§</a><h3 class="code-header">Nsuniqueid(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><section id="variant.DateTime" class="variant"><a href="#variant.DateTime" class="anchor">§</a><h3 class="code-header">DateTime(OffsetDateTime)</h3></section><section id="variant.EmailAddress" class="variant"><a href="#variant.EmailAddress" class="anchor">§</a><h3 class="code-header">EmailAddress(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>)</h3></section><section id="variant.PhoneNumber" class="variant"><a href="#variant.PhoneNumber" class="anchor">§</a><h3 class="code-header">PhoneNumber(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>)</h3></section><section id="variant.Address" class="variant"><a href="#variant.Address" class="anchor">§</a><h3 class="code-header">Address(<a class="struct" href="struct.Address.html" title="struct kanidmd_lib::value::Address">Address</a>)</h3></section><section id="variant.Url" class="variant"><a href="#variant.Url" class="anchor">§</a><h3 class="code-header">Url(<a class="struct" href="../prelude/struct.Url.html" title="struct kanidmd_lib::prelude::Url">Url</a>)</h3></section><section id="variant.OauthScope" class="variant"><a href="#variant.OauthScope" class="anchor">§</a><h3 class="code-header">OauthScope(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><section id="variant.OauthScopeMap" class="variant"><a href="#variant.OauthScopeMap" class="anchor">§</a><h3 class="code-header">OauthScopeMap(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="../idm/authsession/struct.Set.html" title="struct kanidmd_lib::idm::authsession::Set">BTreeSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;)</h3></section><section id="variant.PrivateBinary" class="variant"><a href="#variant.PrivateBinary" class="anchor">§</a><h3 class="code-header">PrivateBinary(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>&gt;)</h3></section><section id="variant.PublicBinary" class="variant"><a href="#variant.PublicBinary" class="anchor">§</a><h3 class="code-header">PublicBinary(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>&gt;)</h3></section><section id="variant.RestrictedString" class="variant"><a href="#variant.RestrictedString" class="anchor">§</a><h3 class="code-header">RestrictedString(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><section id="variant.IntentToken" class="variant"><a href="#variant.IntentToken" class="anchor">§</a><h3 class="code-header">IntentToken(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="enum" href="enum.IntentTokenState.html" title="enum kanidmd_lib::value::IntentTokenState">IntentTokenState</a>)</h3></section><section id="variant.Passkey" class="variant"><a href="#variant.Passkey" class="anchor">§</a><h3 class="code-header">Passkey(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;PasskeyV4)</h3></section><section id="variant.DeviceKey" class="variant"><a href="#variant.DeviceKey" class="anchor">§</a><h3 class="code-header">DeviceKey(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;DeviceKeyV4)</h3></section><section id="variant.TrustedDeviceEnrollment" class="variant"><a href="#variant.TrustedDeviceEnrollment" class="anchor">§</a><h3 class="code-header">TrustedDeviceEnrollment(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>)</h3></section><section id="variant.Session" class="variant"><a href="#variant.Session" class="anchor">§</a><h3 class="code-header">Session(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="struct.Session.html" title="struct kanidmd_lib::value::Session">Session</a>)</h3></section><section id="variant.ApiToken" class="variant"><a href="#variant.ApiToken" class="anchor">§</a><h3 class="code-header">ApiToken(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="struct.ApiToken.html" title="struct kanidmd_lib::value::ApiToken">ApiToken</a>)</h3></section><section id="variant.Oauth2Session" class="variant"><a href="#variant.Oauth2Session" class="anchor">§</a><h3 class="code-header">Oauth2Session(<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,&nbsp;<a class="struct" href="struct.Oauth2Session.html" title="struct kanidmd_lib::value::Oauth2Session">Oauth2Session</a>)</h3></section><section id="variant.JwsKeyEs256" class="variant"><a href="#variant.JwsKeyEs256" class="anchor">§</a><h3 class="code-header">JwsKeyEs256(JwsSigner)</h3></section><section id="variant.JwsKeyRs256" class="variant"><a href="#variant.JwsKeyRs256" class="anchor">§</a><h3 class="code-header">JwsKeyRs256(JwsSigner)</h3></section><section id="variant.UiHint" class="variant"><a href="#variant.UiHint" class="anchor">§</a><h3 class="code-header">UiHint(<a class="enum" href="../../kanidm_proto/v1/enum.UiHint.html" title="enum kanidm_proto::v1::UiHint">UiHint</a>)</h3></section><section id="variant.TotpSecret" class="variant"><a href="#variant.TotpSecret" class="anchor">§</a><h3 class="code-header">TotpSecret(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,&nbsp;<a class="struct" href="../credential/totp/struct.Totp.html" title="struct kanidmd_lib::credential::totp::Totp">Totp</a>)</h3></section></div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#982-1615">source</a><a href="#impl-Value" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><section id="method.new_utf8" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#984-986">source</a><h4 class="code-header">pub fn <a href="#method.new_utf8" class="fn">new_utf8</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; Self</h4></section><section id="method.new_utf8s" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#988-990">source</a><h4 class="code-header">pub fn <a href="#method.new_utf8s" class="fn">new_utf8s</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section><section id="method.is_utf8" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#992-994">source</a><h4 class="code-header">pub fn <a href="#method.is_utf8" class="fn">is_utf8</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_iutf8" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#996-998">source</a><h4 class="code-header">pub fn <a href="#method.new_iutf8" class="fn">new_iutf8</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section><section id="method.is_iutf8" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1000-1002">source</a><h4 class="code-header">pub fn <a href="#method.is_iutf8" class="fn">is_iutf8</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_class" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1004-1006">source</a><h4 class="code-header">pub fn <a href="#method.new_class" class="fn">new_class</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section><section id="method.new_attr" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1008-1010">source</a><h4 class="code-header">pub fn <a href="#method.new_attr" class="fn">new_attr</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section><section id="method.is_insensitive_utf8" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1012-1014">source</a><h4 class="code-header">pub fn <a href="#method.is_insensitive_utf8" class="fn">is_insensitive_utf8</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_iname" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1016-1018">source</a><h4 class="code-header">pub fn <a href="#method.new_iname" class="fn">new_iname</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section><section id="method.is_iname" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1020-1022">source</a><h4 class="code-header">pub fn <a href="#method.is_iname" class="fn">is_iname</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_uuid_s" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1024-1026">source</a><h4 class="code-header">pub fn <a href="#method.new_uuid_s" class="fn">new_uuid_s</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.is_uuid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1029-1031">source</a><h4 class="code-header">pub fn <a href="#method.is_uuid" class="fn">is_uuid</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_bool" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1033-1035">source</a><h4 class="code-header">pub fn <a href="#method.new_bool" class="fn">new_bool</a>(b: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>) -&gt; Self</h4></section><section id="method.new_bools" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1037-1039">source</a><h4 class="code-header">pub fn <a href="#method.new_bools" class="fn">new_bools</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.is_bool" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1042-1044">source</a><h4 class="code-header">pub fn <a href="#method.is_bool" class="fn">is_bool</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_syntaxs" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1046-1048">source</a><h4 class="code-header">pub fn <a href="#method.new_syntaxs" class="fn">new_syntaxs</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.new_syntax" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1050-1052">source</a><h4 class="code-header">pub fn <a href="#method.new_syntax" class="fn">new_syntax</a>(s: <a class="enum" href="enum.SyntaxType.html" title="enum kanidmd_lib::value::SyntaxType">SyntaxType</a>) -&gt; Self</h4></section><section id="method.is_syntax" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1054-1056">source</a><h4 class="code-header">pub fn <a href="#method.is_syntax" class="fn">is_syntax</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_indexes" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1058-1060">source</a><h4 class="code-header">pub fn <a href="#method.new_indexes" class="fn">new_indexes</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.new_index" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1062-1064">source</a><h4 class="code-header">pub fn <a href="#method.new_index" class="fn">new_index</a>(i: <a class="enum" href="enum.IndexType.html" title="enum kanidmd_lib::value::IndexType">IndexType</a>) -&gt; Self</h4></section><section id="method.is_index" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1066-1068">source</a><h4 class="code-header">pub fn <a href="#method.is_index" class="fn">is_index</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_refer_s" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1070-1072">source</a><h4 class="code-header">pub fn <a href="#method.new_refer_s" class="fn">new_refer_s</a>(us: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.is_refer" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1074-1076">source</a><h4 class="code-header">pub fn <a href="#method.is_refer" class="fn">is_refer</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_json_filter_s" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1078-1080">source</a><h4 class="code-header">pub fn <a href="#method.new_json_filter_s" class="fn">new_json_filter_s</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.new_json_filter" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1082-1084">source</a><h4 class="code-header">pub fn <a href="#method.new_json_filter" class="fn">new_json_filter</a>(f: <a class="enum" href="../../kanidm_proto/v1/enum.Filter.html" title="enum kanidm_proto::v1::Filter">ProtoFilter</a>) -&gt; Self</h4></section><section id="method.is_json_filter" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1086-1088">source</a><h4 class="code-header">pub fn <a href="#method.is_json_filter" class="fn">is_json_filter</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.as_json_filter" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1090-1095">source</a><h4 class="code-header">pub fn <a href="#method.as_json_filter" class="fn">as_json_filter</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="enum" href="../../kanidm_proto/v1/enum.Filter.html" title="enum kanidm_proto::v1::Filter">ProtoFilter</a>&gt;</h4></section><section id="method.new_credential" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1097-1099">source</a><h4 class="code-header">pub fn <a href="#method.new_credential" class="fn">new_credential</a>(tag: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>, cred: <a class="struct" href="../credential/struct.Credential.html" title="struct kanidmd_lib::credential::Credential">Credential</a>) -&gt; Self</h4></section><section id="method.is_credential" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1101-1103">source</a><h4 class="code-header">pub fn <a href="#method.is_credential" class="fn">is_credential</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.to_credential" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1105-1110">source</a><h4 class="code-header">pub fn <a href="#method.to_credential" class="fn">to_credential</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../credential/struct.Credential.html" title="struct kanidmd_lib::credential::Credential">Credential</a>&gt;</h4></section><section id="method.new_secret_str" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1112-1114">source</a><h4 class="code-header">pub fn <a href="#method.new_secret_str" class="fn">new_secret_str</a>(cleartext: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section><section id="method.is_secret_string" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1116-1118">source</a><h4 class="code-header">pub fn <a href="#method.is_secret_string" class="fn">is_secret_string</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.get_secret_str" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1120-1125">source</a><h4 class="code-header">pub fn <a href="#method.get_secret_str" class="fn">get_secret_str</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>&gt;</h4></section><section id="method.new_sshkey_str" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1127-1129">source</a><h4 class="code-header">pub fn <a href="#method.new_sshkey_str" class="fn">new_sshkey_str</a>(tag: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>, key: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section><section id="method.new_sshkey" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1131-1133">source</a><h4 class="code-header">pub fn <a href="#method.new_sshkey" class="fn">new_sshkey</a>(tag: <a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, key: <a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; Self</h4></section><section id="method.is_sshkey" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1135-1137">source</a><h4 class="code-header">pub fn <a href="#method.is_sshkey" class="fn">is_sshkey</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.get_sshkey" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1139-1144">source</a><h4 class="code-header">pub fn <a href="#method.get_sshkey" class="fn">get_sshkey</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>&gt;</h4></section><section id="method.new_spn_parse" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1146-1158">source</a><h4 class="code-header">pub fn <a href="#method.new_spn_parse" class="fn">new_spn_parse</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.new_spn_str" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1160-1162">source</a><h4 class="code-header">pub fn <a href="#method.new_spn_str" class="fn">new_spn_str</a>(n: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>, r: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section><section id="method.is_spn" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1164-1166">source</a><h4 class="code-header">pub fn <a href="#method.is_spn" class="fn">is_spn</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_uint32" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1168-1170">source</a><h4 class="code-header">pub fn <a href="#method.new_uint32" class="fn">new_uint32</a>(u: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u32.html">u32</a>) -&gt; Self</h4></section><section id="method.new_uint32_str" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1172-1174">source</a><h4 class="code-header">pub fn <a href="#method.new_uint32_str" class="fn">new_uint32_str</a>(u: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.is_uint32" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1176-1178">source</a><h4 class="code-header">pub fn <a href="#method.is_uint32" class="fn">is_uint32</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_cid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1180-1182">source</a><h4 class="code-header">pub fn <a href="#method.new_cid" class="fn">new_cid</a>(c: Cid) -&gt; Self</h4></section><section id="method.is_cid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1184-1186">source</a><h4 class="code-header">pub fn <a href="#method.is_cid" class="fn">is_cid</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_nsuniqueid_s" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1188-1194">source</a><h4 class="code-header">pub fn <a href="#method.new_nsuniqueid_s" class="fn">new_nsuniqueid_s</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.is_nsuniqueid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1196-1198">source</a><h4 class="code-header">pub fn <a href="#method.is_nsuniqueid" class="fn">is_nsuniqueid</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_datetime_epoch" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1200-1202">source</a><h4 class="code-header">pub fn <a href="#method.new_datetime_epoch" class="fn">new_datetime_epoch</a>(ts: <a class="struct" href="../prelude/struct.Duration.html" title="struct kanidmd_lib::prelude::Duration">Duration</a>) -&gt; Self</h4></section><section id="method.new_datetime_s" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1204-1209">source</a><h4 class="code-header">pub fn <a href="#method.new_datetime_s" class="fn">new_datetime_s</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.new_datetime" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1211-1213">source</a><h4 class="code-header">pub fn <a href="#method.new_datetime" class="fn">new_datetime</a>(dt: OffsetDateTime) -&gt; Self</h4></section><section id="method.to_datetime" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1215-1223">source</a><h4 class="code-header">pub fn <a href="#method.to_datetime" class="fn">to_datetime</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;OffsetDateTime&gt;</h4></section><section id="method.is_datetime" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1225-1227">source</a><h4 class="code-header">pub fn <a href="#method.is_datetime" class="fn">is_datetime</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_email_address_s" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1229-1235">source</a><h4 class="code-header">pub fn <a href="#method.new_email_address_s" class="fn">new_email_address_s</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.new_email_address_primary_s" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1237-1243">source</a><h4 class="code-header">pub fn <a href="#method.new_email_address_primary_s" class="fn">new_email_address_primary_s</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.is_email_address" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1245-1247">source</a><h4 class="code-header">pub fn <a href="#method.is_email_address" class="fn">is_email_address</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_phonenumber_s" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1249-1251">source</a><h4 class="code-header">pub fn <a href="#method.new_phonenumber_s" class="fn">new_phonenumber_s</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section><section id="method.new_address" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1253-1255">source</a><h4 class="code-header">pub fn <a href="#method.new_address" class="fn">new_address</a>(a: <a class="struct" href="struct.Address.html" title="struct kanidmd_lib::value::Address">Address</a>) -&gt; Self</h4></section><section id="method.new_url_s" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1257-1259">source</a><h4 class="code-header">pub fn <a href="#method.new_url_s" class="fn">new_url_s</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.new_url" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1261-1263">source</a><h4 class="code-header">pub fn <a href="#method.new_url" class="fn">new_url</a>(u: <a class="struct" href="../prelude/struct.Url.html" title="struct kanidmd_lib::prelude::Url">Url</a>) -&gt; Self</h4></section><section id="method.is_url" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1265-1267">source</a><h4 class="code-header">pub fn <a href="#method.is_url" class="fn">is_url</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_oauthscope" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1269-1275">source</a><h4 class="code-header">pub fn <a href="#method.new_oauthscope" class="fn">new_oauthscope</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.is_oauthscope" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1277-1279">source</a><h4 class="code-header">pub fn <a href="#method.is_oauthscope" class="fn">is_oauthscope</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_oauthscopemap" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1281-1287">source</a><h4 class="code-header">pub fn <a href="#method.new_oauthscopemap" class="fn">new_oauthscopemap</a>(u: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>, m: <a class="struct" href="../idm/authsession/struct.Set.html" title="struct kanidmd_lib::idm::authsession::Set">BTreeSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section><section id="method.is_oauthscopemap" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1289-1291">source</a><h4 class="code-header">pub fn <a href="#method.is_oauthscopemap" class="fn">is_oauthscopemap</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_privatebinary" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1299-1301">source</a><h4 class="code-header">pub fn <a href="#method.new_privatebinary" class="fn">new_privatebinary</a>(der: &amp;[<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>]) -&gt; Self</h4></section><section id="method.to_privatebinary" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1303-1308">source</a><h4 class="code-header">pub fn <a href="#method.to_privatebinary" class="fn">to_privatebinary</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>&gt;&gt;</h4></section><section id="method.is_privatebinary" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1310-1312">source</a><h4 class="code-header">pub fn <a href="#method.is_privatebinary" class="fn">is_privatebinary</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.new_publicbinary" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1314-1316">source</a><h4 class="code-header">pub fn <a href="#method.new_publicbinary" class="fn">new_publicbinary</a>(tag: <a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, der: <a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>&gt;) -&gt; Self</h4></section><section id="method.new_restrictedstring" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1318-1320">source</a><h4 class="code-header">pub fn <a href="#method.new_restrictedstring" class="fn">new_restrictedstring</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; Self</h4></section><section id="method.to_str" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1336-1343">source</a><h4 class="code-header">pub fn <a href="#method.to_str" class="fn">to_str</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>&gt;</h4></section><section id="method.to_url" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1345-1350">source</a><h4 class="code-header">pub fn <a href="#method.to_url" class="fn">to_url</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../prelude/struct.Url.html" title="struct kanidmd_lib::prelude::Url">Url</a>&gt;</h4></section><section id="method.as_string" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1352-1359">source</a><h4 class="code-header">pub fn <a href="#method.as_string" class="fn">as_string</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.to_ref_uuid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1363-1371">source</a><h4 class="code-header">pub fn <a href="#method.to_ref_uuid" class="fn">to_ref_uuid</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.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;</h4></section><section id="method.to_uuid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1373-1378">source</a><h4 class="code-header">pub fn <a href="#method.to_uuid" class="fn">to_uuid</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>&gt;</h4></section><section id="method.to_indextype" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1380-1385">source</a><h4 class="code-header">pub fn <a href="#method.to_indextype" class="fn">to_indextype</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="enum" href="enum.IndexType.html" title="enum kanidmd_lib::value::IndexType">IndexType</a>&gt;</h4></section><section id="method.to_syntaxtype" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1387-1392">source</a><h4 class="code-header">pub fn <a href="#method.to_syntaxtype" class="fn">to_syntaxtype</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="enum" href="enum.SyntaxType.html" title="enum kanidmd_lib::value::SyntaxType">SyntaxType</a>&gt;</h4></section><section id="method.to_bool" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1394-1400">source</a><h4 class="code-header">pub fn <a href="#method.to_bool" class="fn">to_bool</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>&gt;</h4></section><section id="method.to_uint32" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1402-1407">source</a><h4 class="code-header">pub fn <a href="#method.to_uint32" class="fn">to_uint32</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u32.html">u32</a>&gt;</h4></section><section id="method.to_utf8" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1409-1414">source</a><h4 class="code-header">pub fn <a href="#method.to_utf8" class="fn">to_utf8</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.to_iutf8" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1416-1421">source</a><h4 class="code-header">pub fn <a href="#method.to_iutf8" class="fn">to_iutf8</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.to_iname" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1423-1428">source</a><h4 class="code-header">pub fn <a href="#method.to_iname" class="fn">to_iname</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.to_jsonfilt" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1430-1435">source</a><h4 class="code-header">pub fn <a href="#method.to_jsonfilt" class="fn">to_jsonfilt</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../../kanidm_proto/v1/enum.Filter.html" title="enum kanidm_proto::v1::Filter">ProtoFilter</a>&gt;</h4></section><section id="method.to_cred" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1437-1442">source</a><h4 class="code-header">pub fn <a href="#method.to_cred" class="fn">to_cred</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../credential/struct.Credential.html" title="struct kanidmd_lib::credential::Credential">Credential</a>)&gt;</h4></section><section id="method.to_sshkey" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1444-1449">source</a><h4 class="code-header">pub fn <a href="#method.to_sshkey" class="fn">to_sshkey</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)&gt;</h4></section><section id="method.to_spn" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1451-1456">source</a><h4 class="code-header">pub fn <a href="#method.to_spn" class="fn">to_spn</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)&gt;</h4></section><section id="method.to_cid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1458-1463">source</a><h4 class="code-header">pub fn <a href="#method.to_cid" class="fn">to_cid</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Cid&gt;</h4></section><section id="method.to_nsuniqueid" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1465-1470">source</a><h4 class="code-header">pub fn <a href="#method.to_nsuniqueid" class="fn">to_nsuniqueid</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.to_emailaddress" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1472-1477">source</a><h4 class="code-header">pub fn <a href="#method.to_emailaddress" class="fn">to_emailaddress</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.to_oauthscope" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1479-1484">source</a><h4 class="code-header">pub fn <a href="#method.to_oauthscope" class="fn">to_oauthscope</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.to_oauthscopemap" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1486-1491">source</a><h4 class="code-header">pub fn <a href="#method.to_oauthscopemap" class="fn">to_oauthscopemap</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.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>, <a class="struct" href="../idm/authsession/struct.Set.html" title="struct kanidmd_lib::idm::authsession::Set">BTreeSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;)&gt;</h4></section><section id="method.to_restrictedstring" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1493-1498">source</a><h4 class="code-header">pub fn <a href="#method.to_restrictedstring" class="fn">to_restrictedstring</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.to_phonenumber" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1500-1505">source</a><h4 class="code-header">pub fn <a href="#method.to_phonenumber" class="fn">to_phonenumber</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.to_publicbinary" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1507-1512">source</a><h4 class="code-header">pub fn <a href="#method.to_publicbinary" class="fn">to_publicbinary</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>&gt;)&gt;</h4></section><section id="method.to_address" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1514-1519">source</a><h4 class="code-header">pub fn <a href="#method.to_address" class="fn">to_address</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.Address.html" title="struct kanidmd_lib::value::Address">Address</a>&gt;</h4></section><section id="method.to_intenttoken" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1521-1526">source</a><h4 class="code-header">pub fn <a href="#method.to_intenttoken" class="fn">to_intenttoken</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="enum.IntentTokenState.html" title="enum kanidmd_lib::value::IntentTokenState">IntentTokenState</a>)&gt;</h4></section><section id="method.to_trusteddeviceenrollment" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1528-1533">source</a><h4 class="code-header">pub fn <a href="#method.to_trusteddeviceenrollment" class="fn">to_trusteddeviceenrollment</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.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>, <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>)&gt;</h4></section><section id="method.to_session" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1535-1540">source</a><h4 class="code-header">pub fn <a href="#method.to_session" class="fn">to_session</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.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>, <a class="struct" href="struct.Session.html" title="struct kanidmd_lib::value::Session">Session</a>)&gt;</h4></section><section id="method.migrate_iutf8_iname" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#1542-1547">source</a><h4 class="code-header">pub fn <a href="#method.migrate_iutf8_iname" class="fn">migrate_iutf8_iname</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#793">source</a><a href="#impl-Clone-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#793">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.67.1/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.67.1/src/core/clone.rs.html#132-134">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&amp;</a>Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.67.1/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#793">source</a><a href="#impl-Debug-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#793">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.67.1/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.67.1/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.67.1/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%26bool%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#903-907">source</a><a href="#impl-From%3C%26bool%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>&gt; for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#904-906">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(b: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CDbIdentSpn%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#972-980">source</a><a href="#impl-From%3CDbIdentSpn%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="../be/dbentry/enum.DbIdentSpn.html" title="enum kanidmd_lib::be::dbentry::DbIdentSpn">DbIdentSpn</a>&gt; for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-8" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#973-979">source</a><a href="#method.from-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(dis: <a class="enum" href="../be/dbentry/enum.DbIdentSpn.html" title="enum kanidmd_lib::be::dbentry::DbIdentSpn">DbIdentSpn</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CFilter%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#921-925">source</a><a href="#impl-From%3CFilter%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="../../kanidm_proto/v1/enum.Filter.html" title="enum kanidm_proto::v1::Filter">Filter</a>&gt; for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#922-924">source</a><a href="#method.from-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(i: <a class="enum" href="../../kanidm_proto/v1/enum.Filter.html" title="enum kanidm_proto::v1::Filter">ProtoFilter</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CIndexType%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#915-919">source</a><a href="#impl-From%3CIndexType%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="enum.IndexType.html" title="enum kanidmd_lib::value::IndexType">IndexType</a>&gt; for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#916-918">source</a><a href="#method.from-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(i: <a class="enum" href="enum.IndexType.html" title="enum kanidmd_lib::value::IndexType">IndexType</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3COffsetDateTime%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#927-931">source</a><a href="#impl-From%3COffsetDateTime%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;OffsetDateTime&gt; for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#928-930">source</a><a href="#method.from-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(i: OffsetDateTime) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CSyntaxType%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#909-913">source</a><a href="#impl-From%3CSyntaxType%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="enum.SyntaxType.html" title="enum kanidmd_lib::value::SyntaxType">SyntaxType</a>&gt; for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#910-912">source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(s: <a class="enum" href="enum.SyntaxType.html" title="enum kanidmd_lib::value::SyntaxType">SyntaxType</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CUrl%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#939-943">source</a><a href="#impl-From%3CUrl%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../prelude/struct.Url.html" title="struct kanidmd_lib::prelude::Url">Url</a>&gt; for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-7" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#940-942">source</a><a href="#method.from-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(i: <a class="struct" href="../prelude/struct.Url.html" title="struct kanidmd_lib::prelude::Url">Url</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cbool%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#897-901">source</a><a href="#impl-From%3Cbool%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>&gt; for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#898-900">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(b: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cu32%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#933-937">source</a><a href="#impl-From%3Cu32%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u32.html">u32</a>&gt; for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-6" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#934-936">source</a><a href="#method.from-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(i: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u32.html">u32</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#841-893">source</a><a href="#impl-PartialEq%3CValue%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a>&gt; for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#842-892">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&amp;</a>Self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.67.1/src/core/cmp.rs.html#229">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
sufficient, and should not be overridden without very good reason. <a href="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialEq.html#method.ne">Read more</a></div></details></div></details><section id="impl-Eq-for-Value" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/value.rs.html#895">source</a><a href="#impl-Eq-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-Value" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section><section id="impl-Send-for-Value" class="impl has-srclink"><a href="#impl-Send-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section><section id="impl-Sync-for-Value" class="impl has-srclink"><a href="#impl-Sync-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section><section id="impl-Unpin-for-Value" class="impl has-srclink"><a href="#impl-Unpin-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section><section id="impl-UnwindSafe-for-Value" class="impl has-srclink"><a href="#impl-UnwindSafe-for-Value" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/core/any.rs.html#200">source</a><a href="#impl-Any-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.67.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/core/any.rs.html#201">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.67.1/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.67.1/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-AsTaggedExplicit%3C%27a%3E-for-Value" class="impl has-srclink"><a href="#impl-AsTaggedExplicit%3C%27a%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a, T&gt; AsTaggedExplicit&lt;'a&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'a,</span></h3></section></summary><div class="impl-items"><section id="method.explicit" class="method trait-impl has-srclink"><a href="#method.explicit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">explicit</a>(self, class: Class, tag: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u32.html">u32</a>) -&gt; TaggedParser&lt;'a, Explicit, Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-AsTaggedImplicit%3C%27a%3E-for-Value" class="impl has-srclink"><a href="#impl-AsTaggedImplicit%3C%27a%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;'a, T&gt; AsTaggedImplicit&lt;'a&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'a,</span></h3></section></summary><div class="impl-items"><section id="method.implicit" class="method trait-impl has-srclink"><a href="#method.implicit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">implicit</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;class: Class,<br>&nbsp;&nbsp;&nbsp;&nbsp;constructed: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;tag: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u32.html">u32</a><br>) -&gt; TaggedParser&lt;'a, Implicit, Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/core/borrow.rs.html#211">source</a><a href="#impl-Borrow%3CT%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.67.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.67.1/src/core/borrow.rs.html#213">source</a></span><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.67.1/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/core/borrow.rs.html#220">source</a><a href="#impl-BorrowMut%3CT%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.67.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.67.1/src/core/borrow.rs.html#221">source</a></span><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.67.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-DynClone-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://docs.rs/dyn_clone/1.0.11/src/dyn_clone/lib.rs.html#188">source</a><a href="#impl-DynClone-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/dyn_clone/1.0.11/dyn_clone/trait.DynClone.html" title="trait dyn_clone::DynClone">DynClone</a> for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</span></h3></section></summary><div class="impl-items"><section id="method.__clone_box" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/dyn_clone/1.0.11/src/dyn_clone/lib.rs.html#192">source</a><a href="#method.__clone_box" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/dyn_clone/1.0.11/dyn_clone/trait.DynClone.html#tymethod.__clone_box" class="fn">__clone_box</a>(&amp;self, _: Private) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/core/convert/mod.rs.html#733">source</a><a href="#impl-From%3CT%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-9" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.67.1/src/core/convert/mod.rs.html#736">source</a></span><a href="#method.from-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Instrument-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#276">source</a><a href="#impl-Instrument-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#82">source</a><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html" title="struct tracing::span::Span">Span</a>) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html" title="Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#121">source</a><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html#method.current">current</a> <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/core/convert/mod.rs.html#717">source</a><a href="#impl-Into%3CU%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.67.1/src/core/convert/mod.rs.html#725">source</a></span><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Pointable-for-Value" class="impl has-srclink"><a href="#impl-Pointable-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Pointable for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl has-srclink"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a> = mem::align_of::&lt;T&gt;()</h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.init" class="method trait-impl has-srclink"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: &lt;T as Pointable&gt;::Init) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl has-srclink"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&amp;'a </a>T</h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl has-srclink"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&amp;'a mut </a>T</h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl has-srclink"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Same%3CT%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://docs.rs/typenum/1.16.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same%3CT%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToOwned-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/alloc/borrow.rs.html#82">source</a><a href="#impl-ToOwned-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/alloc/borrow.rs.html#87">source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/alloc/borrow.rs.html#91">source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&amp;mut </a>T)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/core/convert/mod.rs.html#775">source</a><a href="#impl-TryFrom%3CU%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.67.1/src/core/convert/mod.rs.html#781">source</a></span><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/core/convert/mod.rs.html#760">source</a><a href="#impl-TryInto%3CU%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.67.1/src/core/convert/mod.rs.html#766">source</a></span><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-Value" class="impl has-srclink"><a href="#impl-VZip%3CV%3E-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;V, T&gt; VZip&lt;V&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;V: MultiLane&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl has-srclink"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -&gt; V</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-Value" class="impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#334">source</a><a href="#impl-WithSubscriber-for-Value" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html" title="trait tracing::instrument::WithSubscriber">WithSubscriber</a> for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#169-171">source</a><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a>&lt;S&gt;(self, subscriber: S) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a>&lt;Self&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="https://docs.rs/tracing-core/0.1.22/tracing_core/dispatcher/struct.Dispatch.html" title="struct tracing_core::dispatcher::Dispatch">Dispatch</a>&gt;,</span></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<a href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#221">source</a><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/0.1.37/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<a href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="kanidmd_lib" data-themes="" data-resource-suffix="" data-rustdoc-version="1.67.1 (d5a82bbd2 2023-02-07)" data-search-js="search-444266647c4dba98.js" data-settings-js="settings-bebeae96e00e4617.js" data-settings-css="settings-af96d9e2fc13e081.css" ></div></body></html>