<p>Create a new random (V4) UUID and print it out in hexadecimal form:</p>
<divclass="example-wrap"><preclass="rust rust-example-rendered"><code><spanclass="comment">// Note that this requires the `v4` feature enabled in the uuid crate.
<p>The specification for UUIDs encodes the integer fields that make up the
value in big-endian order. This crate assumes integer inputs are already in
the correct order by default, regardless of the endianness of the
environment. Most methods that accept integers have a <code>_le</code> variant (such as
<code>from_fields_le</code>) that assumes any integer values will need to have their
bytes flipped, regardless of the endianness of the environment.</p>
<p>Most users won’t need to worry about endianness unless they need to operate
on individual fields (such as when converting between Microsoft GUIDs). The
important things to remember are:</p>
<ul>
<li>The endianness is in terms of the fields of the UUID, not the environment.</li>
<li>The endianness is assumed to be big-endian when there’s no <code>_le</code> suffix
somewhere.</li>
<li>Byte-flipping in <code>_le</code> methods applies to each integer.</li>
<li>Endianness roundtrips, so if you create a UUID with <code>from_fields_le</code>
you’ll get the same values back out with <code>to_fields_le</code>.</li>
</ul>
<h2id="abi"><ahref="#abi">ABI</a></h2>
<p>The <code>Uuid</code> type is always guaranteed to be have the same ABI as <ahref="https://docs.rs/uuid/1.3.0/uuid/type.Bytes.html"title="Bytes"><code>Bytes</code></a>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from_u128_le"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/builder.rs.html#250">source</a><h4class="code-header">pub const fn <ahref="#method.from_u128_le"class="fn">from_u128_le</a>(v: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u128.html">u128</a>) -><aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a></h4></section></summary><divclass="docblock"><p>Creates a UUID from a 128bit value in little-endian order.</p>
<p>The entire value will be flipped to convert into big-endian order.
This is based on the endianness of the UUID, rather than the target
environment so bytes will be flipped on both big and little endian
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from_slice_le"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/builder.rs.html#380">source</a><h4class="code-header">pub fn <ahref="#method.from_slice_le"class="fn">from_slice_le</a>(b: &[<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>]) -><aclass="enum"href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a>, <aclass="struct"href="https://docs.rs/uuid/1.3.0/uuid/error/struct.Error.html"title="struct uuid::error::Error">Error</a>></h4></section></summary><divclass="docblock"><p>Creates a UUID using the supplied bytes in little endian order.</p>
<p>The individual fields encoded in the buffer will be flipped.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from_bytes_le"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/builder.rs.html#446">source</a><h4class="code-header">pub const fn <ahref="#method.from_bytes_le"class="fn">from_bytes_le</a>(b: [<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>; <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.array.html">16</a>]) -><aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a></h4></section></summary><divclass="docblock"><p>Creates a UUID using the supplied bytes in little endian order.</p>
<p>The individual fields encoded in the buffer will be flipped.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from_bytes_ref"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/builder.rs.html#483">source</a><h4class="code-header">pub fn <ahref="#method.from_bytes_ref"class="fn">from_bytes_ref</a>(bytes: &[<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>; <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.array.html">16</a>]) ->&<aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a></h4></section></summary><divclass="docblock"><p>Creates a reference to a UUID from a reference to the supplied bytes.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_parse"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/parser.rs.html#98">source</a><h4class="code-header">pub const fn <ahref="#method.try_parse"class="fn">try_parse</a>(input: &<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a>, <aclass="struct"href="https://docs.rs/uuid/1.3.0/uuid/error/struct.Error.html"title="struct uuid::error::Error">Error</a>></h4></section></summary><divclass="docblock"><p>Parses a <code>Uuid</code> from a string of hexadecimal digits with optional
hyphens.</p>
<p>This function is similar to <ahref="#method.parse_str"><code>parse_str</code></a>, in fact <code>parse_str</code> shares
the same underlying parser. The difference is that if <code>try_parse</code>
fails, it won’t generate very useful error messages. The <code>parse_str</code>
function will eventually be deprecated in favor or <code>try_parse</code>.</p>
<p>To parse a UUID from a byte stream instead of a UTF8 string, see
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_parse_ascii"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/parser.rs.html#125">source</a><h4class="code-header">pub const fn <ahref="#method.try_parse_ascii"class="fn">try_parse_ascii</a>(input: &[<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>]) -><aclass="enum"href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a>, <aclass="struct"href="https://docs.rs/uuid/1.3.0/uuid/error/struct.Error.html"title="struct uuid::error::Error">Error</a>></h4></section></summary><divclass="docblock"><p>Parses a <code>Uuid</code> from a string of hexadecimal digits with optional
hyphens.</p>
<p>The input is expected to be a string of ASCII characters. This method
can be more convenient than <ahref="#method.try_parse"><code>try_parse</code></a> if the UUID is being
parsed from a byte stream instead of from a UTF8 string.</p>
200])</h4></section></summary><divclass="docblock"><p>UUID namespace for X.500 Distinguished Names (DNs).</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.get_variant"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#486">source</a><h4class="code-header">pub const fn <ahref="#method.get_variant"class="fn">get_variant</a>(&self) -><aclass="enum"href="https://docs.rs/uuid/1.3.0/uuid/enum.Variant.html"title="enum uuid::Variant">Variant</a></h4></section></summary><divclass="docblock"><p>Returns the variant of the UUID structure.</p>
<p>This determines the interpretation of the structure of the UUID.
This method simply reads the value of the variant byte. It doesn’t
validate the rest of the UUID as conforming to that variant.</p>
<li><ahref="http://tools.ietf.org/html/rfc4122#section-4.1.1">Variant in RFC4122</a></li>
</ul>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.get_version_num"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#521">source</a><h4class="code-header">pub const fn <ahref="#method.get_version_num"class="fn">get_version_num</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a></h4></section></summary><divclass="docblock"><p>Returns the version number of the UUID.</p>
<p>This represents the algorithm used to generate the value.
This method is the future-proof alternative to <ahref="struct.Uuid.html#method.get_version"title="Uuid::get_version"><code>Uuid::get_version</code></a>.</p>
<li><ahref="https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.3">Version in RFC4122</a></li>
</ul>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.get_version"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#551">source</a><h4class="code-header">pub const fn <ahref="#method.get_version"class="fn">get_version</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://docs.rs/uuid/1.3.0/uuid/enum.Version.html"title="enum uuid::Version">Version</a>></h4></section></summary><divclass="docblock"><p>Returns the version of the UUID.</p>
<p>This represents the algorithm used to generate the value.
If the version field doesn’t contain a recognized version then <code>None</code>
is returned. If you’re trying to read the version for a future extension
you can also use <ahref="struct.Uuid.html#method.get_version_num"title="Uuid::get_version_num"><code>Uuid::get_version_num</code></a> to unconditionally return a
number. Future extensions may start to return <code>Some</code> once they’re
<li><ahref="https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.3">Version in RFC4122</a></li>
</ul>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.as_fields"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#614">source</a><h4class="code-header">pub fn <ahref="#method.as_fields"class="fn">as_fields</a>(&self) -> (<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u32.html">u32</a>, <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u16.html">u16</a>, <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u16.html">u16</a>, &[<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>; <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.array.html">8</a>])</h4></section></summary><divclass="docblock"><p>Returns the four field values of the UUID.</p>
<p>These values can be passed to the <ahref="struct.Uuid.html#method.from_fields"title="Uuid::from_fields"><code>Uuid::from_fields</code></a> method to get
the original <code>Uuid</code> back.</p>
<ul>
<li>The first field value represents the first group of (eight) hex
digits, taken as a big-endian <code>u32</code> value. For V1 UUIDs, this field
represents the low 32 bits of the timestamp.</li>
<li>The second field value represents the second group of (four) hex
digits, taken as a big-endian <code>u16</code> value. For V1 UUIDs, this field
represents the middle 16 bits of the timestamp.</li>
<li>The third field value represents the third group of (four) hex digits,
taken as a big-endian <code>u16</code> value. The 4 most significant bits give
the UUID version, and for V1 UUIDs, the last 12 bits represent the
high 12 bits of the timestamp.</li>
<li>The last field value represents the last two groups of four and twelve
hex digits, taken in order. The first 1-3 bits of this indicate the
UUID variant, and for V1 UUIDs, the next 13-15 bits indicate the clock
sequence and the last 48 bits indicate the node ID.</li>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_fields_le"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#657">source</a><h4class="code-header">pub fn <ahref="#method.to_fields_le"class="fn">to_fields_le</a>(&self) -> (<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u32.html">u32</a>, <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u16.html">u16</a>, <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u16.html">u16</a>, &[<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>; <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.array.html">8</a>])</h4></section></summary><divclass="docblock"><p>Returns the four field values of the UUID in little-endian order.</p>
<p>The bytes in the returned integer fields will be converted from
big-endian order. This is based on the endianness of the UUID,
rather than the target environment so bytes will be flipped on both
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.as_u128"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#689">source</a><h4class="code-header">pub const fn <ahref="#method.as_u128"class="fn">as_u128</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u128.html">u128</a></h4></section></summary><divclass="docblock"><p>Returns a 128bit value containing the value.</p>
<p>The bytes in the UUID will be packed directly into a <code>u128</code>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_u128_le"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#733">source</a><h4class="code-header">pub const fn <ahref="#method.to_u128_le"class="fn">to_u128_le</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u128.html">u128</a></h4></section></summary><divclass="docblock"><p>Returns a 128bit little-endian value containing the value.</p>
<p>The bytes in the <code>u128</code> will be flipped to convert into big-endian
order. This is based on the endianness of the UUID, rather than the
target environment so bytes will be flipped on both big and little
endian machines.</p>
<p>Note that this will produce a different result than
<ahref="struct.Uuid.html#method.to_fields_le"title="Uuid::to_fields_le"><code>Uuid::to_fields_le</code></a>, because the entire UUID is reversed, rather
than reversing the individual fields in-place.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.into_bytes"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#821">source</a><h4class="code-header">pub const fn <ahref="#method.into_bytes"class="fn">into_bytes</a>(self) -> [<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>; <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.array.html">16</a>]</h4></section></summary><divclass="docblock"><p>Consumes self and returns the underlying byte value of the UUID.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_bytes_le"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#849">source</a><h4class="code-header">pub const fn <ahref="#method.to_bytes_le"class="fn">to_bytes_le</a>(&self) -> [<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>; <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.array.html">16</a>]</h4></section></summary><divclass="docblock"><p>Returns the bytes of the UUID in little-endian order.</p>
<p>The bytes will be flipped to convert into little-endian order. This is
based on the endianness of the UUID, rather than the target environment
so bytes will be flipped on both big and little endian machines.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.is_nil"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#858">source</a><h4class="code-header">pub const fn <ahref="#method.is_nil"class="fn">is_nil</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Tests if the UUID is nil (all zeros).</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.encode_buffer"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#893">source</a><h4class="code-header">pub const fn <ahref="#method.encode_buffer"class="fn">encode_buffer</a>() -> [<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>; <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.array.html">45</a>]</h4></section></summary><divclass="docblock"><p>A buffer that can be used for <code>encode_...</code> calls, that is
guaranteed to be long enough for any of the format adapters.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.get_timestamp"class="method has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#916">source</a><h4class="code-header">pub const fn <ahref="#method.get_timestamp"class="fn">get_timestamp</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://docs.rs/uuid/1.3.0/uuid/timestamp/struct.Timestamp.html"title="struct uuid::timestamp::Timestamp">Timestamp</a>></h4></section></summary><divclass="docblock"><p>If the UUID is the correct version (v1, v6, or v7) this will return
the timestamp and counter portion parsed from a V1 UUID.</p>
<p>Returns <code>None</code> if the supplied UUID is not V1.</p>
<p>The V1 timestamp format defined in RFC4122 specifies a 60-bit
integer representing the number of 100-nanosecond intervals
since 00:00:00.00, 15 Oct 1582.</p>
<p><ahref="v1/struct.Timestamp.html"><code>Timestamp</code></a> offers several options for converting the raw RFC4122
value into more commonly-used formats, such as a unix timestamp.</p>
by <code>==</code>. <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.ne"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.67.1/src/core/cmp.rs.html#229">source</a></span><ahref="#method.ne"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialEq.html#method.ne"class="fn">ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
sufficient, and should not be overridden without very good reason. <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialEq.html#method.ne">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-PartialOrd%3CUuid%3E-for-Uuid"class="impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#433">source</a><ahref="#impl-PartialOrd%3CUuid%3E-for-Uuid"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a>> for <aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.partial_cmp"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/lib.rs.html#433">source</a><ahref="#method.partial_cmp"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp"class="fn">partial_cmp</a>(&self, other: &<aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://doc.rust-lang.org/1.67.1/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><divclass='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.lt"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.67.1/src/core/cmp.rs.html#1126">source</a></span><ahref="#method.lt"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html#method.lt"class="fn">lt</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.le"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.67.1/src/core/cmp.rs.html#1145">source</a></span><ahref="#method.le"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html#method.le"class="fn">le</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code>
operator. <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.gt"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.67.1/src/core/cmp.rs.html#1163">source</a></span><ahref="#method.gt"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html#method.gt"class="fn">gt</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.ge"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.67.1/src/core/cmp.rs.html#1182">source</a></span><ahref="#method.ge"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html#method.ge"class="fn">ge</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code>
operator. <ahref="https://doc.rust-lang.org/1.67.1/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Serialize-for-Uuid"class="impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/external/serde_support.rs.html#23">source</a><ahref="#impl-Serialize-for-Uuid"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://docs.rs/serde/1.0.152/serde/ser/trait.Serialize.html"title="trait serde::ser::Serialize">Serialize</a> for <aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.serialize"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/external/serde_support.rs.html#24">source</a><ahref="#method.serialize"class="anchor">§</a><h4class="code-header">fn <ahref="https://docs.rs/serde/1.0.152/serde/ser/trait.Serialize.html#tymethod.serialize"class="fn">serialize</a><S>(<br> &self,<br> serializer: S<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<S as <aclass="trait"href="https://docs.rs/serde/1.0.152/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>>::<aclass="associatedtype"href="https://docs.rs/serde/1.0.152/serde/ser/trait.Serializer.html#associatedtype.Ok"title="type serde::ser::Serializer::Ok">Ok</a>, <S as <aclass="trait"href="https://docs.rs/serde/1.0.152/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>>::<aclass="associatedtype"href="https://docs.rs/serde/1.0.152/serde/ser/trait.Serializer.html#associatedtype.Error"title="type serde::ser::Serializer::Error">Error</a>><spanclass="where fmt-newline">where<br> S: <aclass="trait"href="https://docs.rs/serde/1.0.152/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>,</span></h4></section></summary><divclass='docblock'>Serialize this value into the given Serde serializer. <ahref="https://docs.rs/serde/1.0.152/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-TryFrom%3C%26str%3E-for-Uuid"class="impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/parser.rs.html#30">source</a><ahref="#impl-TryFrom%3C%26str%3E-for-Uuid"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><&<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>> for <aclass="struct"href="struct.Uuid.html"title="struct kanidmd_lib::prelude::Uuid">Uuid</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.67.1/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="struct"href="https://docs.rs/uuid/1.3.0/uuid/error/struct.Error.html"title="struct uuid::error::Error">Error</a></h4></section></summary><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_from"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/uuid/1.3.0/src/uuid/parser.rs.html#33">source</a><ahref="#method.try_from"class="anchor">§</a><h4class="cod
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Instrument-for-Uuid"class="impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#276">source</a><ahref="#impl-Instrument-for-Uuid"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.instrument"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#82">source</a><ahref="#method.instrument"class="anchor">§</a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument"class="fn">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'>Instruments this type with the provided <ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"title="Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.in_current_span"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#121">source</a><ahref="#method.in_current_span"class="anchor">§</a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span"class="fn">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'>Instruments this type with the <ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html#method.current">current</a><ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"><code>Span</code></a>, returning an
<p>That is, this conversion is whatever the implementation of
<code><ahref="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html"title="From">From</a><T> for U</code> chooses to do.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Pointable-for-Uuid"class="impl has-srclink"><ahref="#impl-Pointable-for-Uuid"class="anchor">§</a><h3class="code-header">impl<T> Pointable for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedconstant.ALIGN"class="associatedconstant trait-impl has-srclink"><ahref="#associatedconstant.ALIGN"class="anchor">§</a><h4class="code-header">const <aclass="constant">ALIGN</a>: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a> = mem::align_of::<T>()</h4></section></summary><divclass='docblock'>The alignment of pointer.</div></details><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Init"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Init"class="anchor">§</a><h4class="code-header">type <aclass="associatedtype">Init</a> = T</h4></section></summary><divclass='docblock'>The type for initializers.</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.init"class="method trait-impl has-srclink"><ahref="#method.init"class="anchor">§</a><h4class="code-header">unsafe fn <aclass="fn">init</a>(init: <T as Pointable>::Init) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a></h4></section></summary><divclass='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.deref"class="method trait-impl has-srclink"><ahref="#method.deref"class="anchor">§</a><h4class="code-header">unsafe fn <aclass="fn">deref</a><'a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&'a </a>T</h4></section></summary><divclass='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.deref_mut"class="method trait-impl has-srclink"><ahref="#method.deref_mut"class="anchor">§</a><h4class="code-header">unsafe fn <aclass="fn">deref_mut</a><'a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&'a mut </a>T</h4></section></summary><divclass='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.drop"class="method trait-impl has-srclink"><ahref="#method.drop"class="anchor">§</a><h4class="code-header">unsafe fn <aclass="fn">drop</a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a>)</h4></section></summary><divclass='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Same%3CT%3E-for-Uuid"class="impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/typenum/1.16.0/src/typenum/type_operators.rs.html#34">source</a><ahref="#impl-Same%3CT%3E-for-Uuid"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html"title="trait typenum::type_operators::Same">Same</a><T> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Output"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Output"class="anchor">§</a><h4class="code-header">type <ahref="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html#associatedtype.Output"class="associatedtype">O
letters are used (e.g. <code>f9b4ca</code>) <ahref="https://docs.rs/hex/0.4.3/hex/trait.ToHex.html#tymethod.encode_hex">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.encode_hex_upper"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/hex/0.4.3/src/hex/lib.rs.html#142">source</a><ahref="#method.encode_hex_upper"class="anchor">§</a><h4class="code-header">fn <ahref="https://docs.rs/hex/0.4.3/hex/trait.ToHex.html#tymethod.encode_hex_upper"class="fn">encode_hex_upper</a><U>(&self) -> U<spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.67.1/core/iter/traits/collect/trait.FromIterator.html"title="trait core::iter::traits::collect::FromIterator">FromIterator</a><<aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.char.html">char</a>>,</span></h4></section></summary><divclass='docblock'>Encode the hex strict representing <code>self</code> into the result. Upper case
letters are used (e.g. <code>F9B4CA</code>) <ahref="https://docs.rs/hex/0.4.3/hex/trait.ToHex.html#tymethod.encode_hex_upper">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-ToOwned-for-Uuid"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.67.1/src/alloc/borrow.rs.html#82">source</a><ahref="#impl-ToOwned-for-Uuid"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T<spanclass="where fmt-newline">where<br> T: <aclass="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><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Owned"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Owned"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html#associatedtype.Owned"class="associatedtype">Owned</a> = T</h4></section></summary><divclass='docblock'>The resulting type after obtaining ownership.</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_owned"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.67.1/src/alloc/borrow.rs.html#87">source</a><ahref="#method.to_owned"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html#tymethod.to_owned"class="fn">to_owned</a>(&self) -> T</h4></section></summary><divclass='docblock'>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone_into"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.67.1/src/alloc/borrow.rs.html#91">source</a><ahref="#method.clone_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html#method.clone_into"class="fn">clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&mut </a>T)</h4></section></summary><divclass='docblock'>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/1.67.1/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-ToString-for-Uuid"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.67.1/src/alloc/string.rs.html#2526">source</a><ahref="#impl-ToString-for-Uuid"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.67.1/alloc/string/trait.ToString.html"title="trait alloc::string::ToString">ToString</a> for T<spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/1.67.1/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> + ?<aclass="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><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_string"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.67.1/src/alloc/string.rs.html#2532">source</a><ahref="#method.to_string"class="anchor">§</a><h4class="code-header">default fn <ahref="https://doc.rust-lang.org/1.67.1/alloc/string/trait.ToString.html#tymethod.to_string"class=
<ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html"title="WithDispatch"><code>WithDispatch</code></a> wrapper. <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.with_current_subscriber"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#221">source</a><ahref="#method.with_current_subscriber"class="anchor">§</a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber"class="fn">with_current_subscriber</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self></h4></section></summary><divclass='docblock'>Attaches the current <ahref="https://docs.rs/tracing/0.1.37/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a><ahref="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a