2023-05-05 13:23:43 +02:00
<!DOCTYPE html> < html lang = "en" > < head > < meta charset = "utf-8" > < meta name = "viewport" content = "width=device-width, initial-scale=1.0" > < meta name = "generator" content = "rustdoc" > < meta name = "description" content = "API documentation for the Rust `ValueSetT` trait in crate `kanidmd_lib`." > < title > ValueSetT in kanidmd_lib::valueset - Rust< / title > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../static.files/SourceSerif4-Regular-46f98efaafac5295.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-a2c9cd1067f8b328.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-c4dbdcde0fbd8430.css" id = "mainThemeStyle" > < link rel = "stylesheet" id = "themeStyle" href = "../../static.files/light-db279b6232be9c13.css" > < link rel = "stylesheet" disabled href = "../../static.files/dark-cf923f49f397b216.css" > < link rel = "stylesheet" disabled href = "../../static.files/ayu-be46fdc453a55015.css" > < script src = "../../static.files/storage-3891ce972e3a2bf8.js" > < / script > < script defer src = "sidebar-items.js" > < / script > < script defer src = "../../static.files/main-98a684e84ae5b08b.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 trait" > <!-- [if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif] --> < nav class = "mobile-topbar" > < button class = "sidebar-menu-toggle" > ☰ < / button > < a class = "logo-container" href = "../../kanidmd_lib/index.html" > < img class = "rust-logo" src = "../../static.files/rust-logo-151179464ae7ed46.svg" alt = "logo" > < / a > < h2 > < / h2 > < / nav > < nav class = "sidebar" > < a class = "logo-container" href = "../../kanidmd_lib/index.html" > < img class = "rust-logo" src = "../../static.files/rust-logo-151179464ae7ed46.svg" alt = "logo" > < / a > < h2 class = "location" > < a href = "#" > ValueSetT< / a > < / h2 > < div class = "sidebar-elems" > < section > < h3 > < a href = "#required-methods" > Required Methods< / a > < / h3 > < ul class = "block" > < li > < a href = "#tymethod.clear" > clear< / a > < / li > < li > < a href = "#tymethod.contains" > contains< / a > < / li > < li > < a href = "#tymethod.equal" > equal< / a > < / li > < li > < a href = "#tymethod.generate_idx_eq_keys" > generate_idx_eq_keys< / a > < / li > < li > < a href = "#tymethod.insert_checked" > insert_checked< / a > < / li > < li > < a href = "#tymethod.len" > len< / a > < / li > < li > < a href = "#tymethod.lessthan" > lessthan< / a > < / li > < li > < a href = "#tymethod.merge" > merge< / a > < / li > < li > < a href = "#tymethod.remove" > remove< / a > < / li > < li > < a href = "#tymethod.substring" > substring< / a > < / li > < li > < a href = "#tymethod.syntax" > syntax< / a > < / li > < li > < a href = "#tymethod.to_db_valueset_v2" > to_db_valueset_v2< / a > < / li > < li > < a href = "#tymethod.to_partialvalue_iter" > to_partialvalue_iter< / a > < / li > < li > < a href = "#tymethod.to_proto_string_clone_iter" > to_proto_string_clone_iter< / a > < / li > < li > < a href = "#tymethod.to_repl_v1" > to_repl_v1< / a > < / li > < li > < a href = "#tymethod.to_value_iter" > to_value_iter< / a > < / li > < li > < a href = "#tymethod.validate" > validate< / a > < / li > < / ul > < h3 > < a href = "#provided-methods" > Provided Methods< / a > < / h3 > < ul class = "block" > < li > < a href = "#method.as_address_set" > as_address_set< / a > < / li > < li > < a href = "#method.as_apitoken_map" > as_apitoken_map< / a > < / li > < li > < a href = "#method.as_bool_set" > as_bool_s
< details class = "toggle type-contents-toggle" > < summary class = "hideme" > < span > Show 89 methods< / span > < / summary > // Required methods
fn < a href = "#tymethod.insert_checked" class = "fn" > insert_checked< / a > (& mut self, value: < a class = "enum" href = "../value/enum.Value.html" title = "enum kanidmd_lib::value::Value" > Value< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > ;
2023-01-28 05:14:00 +01:00
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.clear" class = "fn" > clear< / a > (& mut self);
2023-05-05 13:23:43 +02:00
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.remove" class = "fn" > remove< / a > (& mut self, pv: & < a class = "enum" href = "../value/enum.PartialValue.html" title = "enum kanidmd_lib::value::PartialValue" > PartialValue< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > ;
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.contains" class = "fn" > contains< / a > (& self, pv: & < a class = "enum" href = "../value/enum.PartialValue.html" title = "enum kanidmd_lib::value::PartialValue" > PartialValue< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > ;
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.substring" class = "fn" > substring< / a > (& self, pv: & < a class = "enum" href = "../value/enum.PartialValue.html" title = "enum kanidmd_lib::value::PartialValue" > PartialValue< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > ;
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.lessthan" class = "fn" > lessthan< / a > (& self, pv: & < a class = "enum" href = "../value/enum.PartialValue.html" title = "enum kanidmd_lib::value::PartialValue" > PartialValue< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > ;
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.len" class = "fn" > len< / a > (& self) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.usize.html" > usize< / a > ;
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.generate_idx_eq_keys" class = "fn" > generate_idx_eq_keys< / a > (& self) -> < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > < a href = "#" class = "tooltip" data-notable-ty = "Vec<String>" > ⓘ< / a > ;
2023-01-28 05:14:00 +01:00
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.syntax" class = "fn" > syntax< / a > (& self) -> < a class = "enum" href = "../value/enum.SyntaxType.html" title = "enum kanidmd_lib::value::SyntaxType" > SyntaxType< / a > ;
2023-05-05 13:23:43 +02:00
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.validate" class = "fn" > validate< / a > (& self, schema_attr: & < a class = "struct" href = "../schema/struct.SchemaAttribute.html" title = "struct kanidmd_lib::schema::SchemaAttribute" > SchemaAttribute< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > ;
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.to_proto_string_clone_iter" class = "fn" > to_proto_string_clone_iter< / a > (
& self
) -> < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > + '_> ;
2023-01-28 05:14:00 +01:00
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.to_db_valueset_v2" class = "fn" > to_db_valueset_v2< / a > (& self) -> < a class = "enum" href = "../be/dbvalue/enum.DbValueSetV2.html" title = "enum kanidmd_lib::be::dbvalue::DbValueSetV2" > DbValueSetV2< / a > ;
2023-02-17 08:24:03 +01:00
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.to_repl_v1" class = "fn" > to_repl_v1< / a > (& self) -> ReplAttrV1;
2023-05-05 13:23:43 +02:00
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.to_partialvalue_iter" class = "fn" > to_partialvalue_iter< / a > (
& self
) -> < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = < a class = "enum" href = "../value/enum.PartialValue.html" title = "enum kanidmd_lib::value::PartialValue" > PartialValue< / a > > + '_> ;
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.to_value_iter" class = "fn" > to_value_iter< / a > (& self) -> < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = < a class = "enum" href = "../value/enum.Value.html" title = "enum kanidmd_lib::value::Value" > Value< / a > > + '_> ;
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.equal" class = "fn" > equal< / a > (& self, other: & < a class = "type" href = "type.ValueSet.html" title = "type kanidmd_lib::valueset::ValueSet" > ValueSet< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > ;
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.merge" class = "fn" > merge< / a > (& mut self, other: & < a class = "type" href = "type.ValueSet.html" title = "type kanidmd_lib::valueset::ValueSet" > ValueSet< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.unit.html" > ()< / a > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > ;
2022-10-07 11:23:12 +02:00
2023-05-05 13:23:43 +02:00
// Provided methods
unsafe fn < a href = "#method.insert" class = "fn" > insert< / a > (& mut self, value: < a class = "enum" href = "../value/enum.Value.html" title = "enum kanidmd_lib::value::Value" > Value< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.is_empty" class = "fn" > is_empty< / a > (& self) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.migrate_iutf8_iname" class = "fn" > migrate_iutf8_iname< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "type" href = "type.ValueSet.html" title = "type kanidmd_lib::valueset::ValueSet" > ValueSet< / a > > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.migrate_session_to_apitoken" class = "fn" > migrate_session_to_apitoken< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "type" href = "type.ValueSet.html" title = "type kanidmd_lib::valueset::ValueSet" > ValueSet< / a > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.get_ssh_tag" class = "fn" > get_ssh_tag< / a > (& self, _tag: & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_ref_uuid_iter" class = "fn" > as_ref_uuid_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > > + '_> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_utf8_iter" class = "fn" > as_utf8_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_iutf8_iter" class = "fn" > as_iutf8_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_iname_iter" class = "fn" > as_iname_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_indextype_iter" class = "fn" > as_indextype_iter< / a > (
& self
) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = < a class = "enum" href = "../value/enum.IndexType.html" title = "enum kanidmd_lib::value::IndexType" > IndexType< / a > > + '_> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_restricted_string_iter" class = "fn" > as_restricted_string_iter< / a > (
& self
) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_oauthscope_iter" class = "fn" > as_oauthscope_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_sshpubkey_str_iter" class = "fn" > as_sshpubkey_str_iter< / a > (
& self
) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_email_str_iter" class = "fn" > as_email_str_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_utf8_set" class = "fn" > as_utf8_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "../idm/authsession/struct.Set.html" title = "struct kanidmd_lib::idm::authsession::Set" > BTreeSet< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_iutf8_set" class = "fn" > as_iutf8_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "../idm/authsession/struct.Set.html" title = "struct kanidmd_lib::idm::authsession::Set" > BTreeSet< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_iname_set" class = "fn" > as_iname_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "../idm/authsession/struct.Set.html" title = "struct kanidmd_lib::idm::authsession::Set" > BTreeSet< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_uuid_set" class = "fn" > as_uuid_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< 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.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_refer_set" class = "fn" > as_refer_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "../idm/authsession/struct.Set.html" title = "struct kanidmd_lib::idm::authsession::Set" > BTreeSet< / a > < < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_bool_set" class = "fn" > as_bool_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > ; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_uint32_set" class = "fn" > as_uint32_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.u32.html" > u32< / a > ; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_syntax_set" class = "fn" > as_syntax_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< a class = "enum" href = "../value/enum.SyntaxType.html" title = "enum kanidmd_lib::value::SyntaxType" > SyntaxType< / a > ; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_index_set" class = "fn" > as_index_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< a class = "enum" href = "../value/enum.IndexType.html" title = "enum kanidmd_lib::value::IndexType" > IndexType< / a > ; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 3< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_secret_set" class = "fn" > as_secret_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > ; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_restricted_string_set" class = "fn" > as_restricted_string_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "../idm/authsession/struct.Set.html" title = "struct kanidmd_lib::idm::authsession::Set" > BTreeSet< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_spn_set" class = "fn" > as_spn_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [(< a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > , < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > ); < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_cid_set" class = "fn" > as_cid_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [Cid; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
2023-05-06 10:03:15 +02:00
< span class = "item-spacer" > < / span > fn < a href = "#method.as_json_filter_set" class = "fn" > as_json_filter_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< a class = "enum" href = "../../kanidm_proto/v1/enum.Filter.html" title = "enum kanidm_proto::v1::Filter" > ProtoFilter< / a > ; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
2023-05-05 13:23:43 +02:00
< span class = "item-spacer" > < / span > fn < a href = "#method.as_nsuniqueid_set" class = "fn" > as_nsuniqueid_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > ; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_url_set" class = "fn" > as_url_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< a class = "struct" href = "../prelude/struct.Url.html" title = "struct kanidmd_lib::prelude::Url" > Url< / a > ; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_datetime_set" class = "fn" > as_datetime_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [OffsetDateTime; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_private_binary_set" class = "fn" > as_private_binary_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.u8.html" > u8< / a > > ; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_oauthscope_set" class = "fn" > as_oauthscope_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "../idm/authsession/struct.Set.html" title = "struct kanidmd_lib::idm::authsession::Set" > BTreeSet< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_address_set" class = "fn" > as_address_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & SmolSet< [< a class = "struct" href = "../value/struct.Address.html" title = "struct kanidmd_lib::value::Address" > Address< / a > ; < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.array.html" > 1< / a > ]> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_credential_map" class = "fn" > as_credential_map< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/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 > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_totp_map" class = "fn" > as_totp_map< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > , < a class = "struct" href = "../credential/totp/struct.Totp.html" title = "struct kanidmd_lib::credential::totp::Totp" > Totp< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_emailaddress_set" class = "fn" > as_emailaddress_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < (& < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > , & < a class = "struct" href = "../idm/authsession/struct.Set.html" title = "struct kanidmd_lib::idm::authsession::Set" > BTreeSet< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > )> { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_sshkey_map" class = "fn" > as_sshkey_map< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > , < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_oauthscopemap" class = "fn" > as_oauthscopemap< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < 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 > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_publicbinary_map" class = "fn" > as_publicbinary_map< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > , < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.u8.html" > u8< / a > > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_intenttoken_map" class = "fn" > as_intenttoken_map< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > , < a class = "enum" href = "../value/enum.IntentTokenState.html" title = "enum kanidmd_lib::value::IntentTokenState" > IntentTokenState< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_passkey_map" class = "fn" > as_passkey_map< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > , (< a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > , PasskeyV4)> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_devicekey_map" class = "fn" > as_devicekey_map< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > , (< a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > , DeviceKeyV4)> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_value_single" class = "fn" > to_value_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "enum" href = "../value/enum.Value.html" title = "enum kanidmd_lib::value::Value" > Value< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_proto_string_single" class = "fn" > to_proto_string_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_uuid_single" class = "fn" > to_uuid_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_refer_single" class = "fn" > to_refer_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_bool_single" class = "fn" > to_bool_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_uint32_single" class = "fn" > to_uint32_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.u32.html" > u32< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_syntaxtype_single" class = "fn" > to_syntaxtype_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "enum" href = "../value/enum.SyntaxType.html" title = "enum kanidmd_lib::value::SyntaxType" > SyntaxType< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_credential_single" class = "fn" > to_credential_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "../credential/struct.Credential.html" title = "struct kanidmd_lib::credential::Credential" > Credential< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_secret_single" class = "fn" > to_secret_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_restricted_string_single" class = "fn" > to_restricted_string_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_utf8_single" class = "fn" > to_utf8_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_iutf8_single" class = "fn" > to_iutf8_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_iname_single" class = "fn" > to_iname_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_datetime_single" class = "fn" > to_datetime_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < OffsetDateTime> { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_url_single" class = "fn" > to_url_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "../prelude/struct.Url.html" title = "struct kanidmd_lib::prelude::Url" > Url< / a > > { ... }
2023-05-06 10:03:15 +02:00
< span class = "item-spacer" > < / span > fn < a href = "#method.to_json_filter_single" class = "fn" > to_json_filter_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "enum" href = "../../kanidm_proto/v1/enum.Filter.html" title = "enum kanidm_proto::v1::Filter" > ProtoFilter< / a > > { ... }
2023-05-05 13:23:43 +02:00
< span class = "item-spacer" > < / span > fn < a href = "#method.to_email_address_primary_str" class = "fn" > to_email_address_primary_str< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_private_binary_single" class = "fn" > to_private_binary_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & [< a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.u8.html" > u8< / a > ]> { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_passkey_single" class = "fn" > to_passkey_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & PasskeyV4> { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_devicekey_single" class = "fn" > to_devicekey_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & DeviceKeyV4> { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_session_map" class = "fn" > as_session_map< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > , < a class = "struct" href = "../value/struct.Session.html" title = "struct kanidmd_lib::value::Session" > Session< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_apitoken_map" class = "fn" > as_apitoken_map< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > , < a class = "struct" href = "../value/struct.ApiToken.html" title = "struct kanidmd_lib::value::ApiToken" > ApiToken< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_oauth2session_map" class = "fn" > as_oauth2session_map< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / a > < < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > , < a class = "struct" href = "../value/struct.Oauth2Session.html" title = "struct kanidmd_lib::value::Oauth2Session" > Oauth2Session< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_jws_key_es256_single" class = "fn" > to_jws_key_es256_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & JwsSigner> { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_jws_key_es256_set" class = "fn" > as_jws_key_es256_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & HashSet< JwsSigner> > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.to_jws_key_rs256_single" class = "fn" > to_jws_key_rs256_single< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & JwsSigner> { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_jws_key_rs256_set" class = "fn" > as_jws_key_rs256_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & HashSet< JwsSigner> > { ... }
2023-05-06 10:03:15 +02:00
< span class = "item-spacer" > < / span > fn < a href = "#method.as_uihint_set" class = "fn" > as_uihint_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "../idm/authsession/struct.Set.html" title = "struct kanidmd_lib::idm::authsession::Set" > BTreeSet< / a > < < a class = "enum" href = "../../kanidm_proto/v1/enum.UiHint.html" title = "enum kanidm_proto::v1::UiHint" > UiHint< / a > > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.as_uihint_iter" class = "fn" > as_uihint_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = < a class = "enum" href = "../../kanidm_proto/v1/enum.UiHint.html" title = "enum kanidm_proto::v1::UiHint" > UiHint< / a > > + '_> > { ... }
2023-05-05 13:23:43 +02:00
< / details > }< / code > < / pre > < h2 id = "required-methods" class = "small-section-header" > Required Methods< a href = "#required-methods" class = "anchor" > §< / a > < / h2 > < div class = "methods" > < section id = "tymethod.insert_checked" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#86" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.insert_checked" class = "fn" > insert_checked< / a > (& mut self, value: < a class = "enum" href = "../value/enum.Value.html" title = "enum kanidmd_lib::value::Value" > Value< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > < / h4 > < / section > < section id = "tymethod.clear" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#88" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.clear" class = "fn" > clear< / a > (& mut self)< / h4 > < / section > < section id = "tymethod.remove" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#90" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.remove" class = "fn" > remove< / a > (& mut self, pv: & < a class = "enum" href = "../value/enum.PartialValue.html" title = "enum kanidmd_lib::value::PartialValue" > PartialValue< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > < / h4 > < / section > < section id = "tymethod.contains" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#92" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.contains" class = "fn" > contains< / a > (& self, pv: & < a class = "enum" href = "../value/enum.PartialValue.html" title = "enum kanidmd_lib::value::PartialValue" > PartialValue< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > < / h4 > < / section > < section id = "tymethod.substring" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#94" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.substring" class = "fn" > substring< / a > (& self, pv: & < a class = "enum" href = "../value/enum.PartialValue.html" title = "enum kanidmd_lib::value::PartialValue" > PartialValue< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > < / h4 > < / section > < section id = "tymethod.lessthan" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#96" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.lessthan" class = "fn" > lessthan< / a > (& self, pv: & < a class = "enum" href = "../value/enum.PartialValue.html" title = "enum kanidmd_lib::value::PartialValue" > PartialValue< / a > ) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > < / h4 > < / section > < section id = "tymethod.len" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#98" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.len" class = "fn" > len< / a > (& self) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.usize.html" > usize< / a > < / h4 > < / section > < section id = "tymethod.generate_idx_eq_keys" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#100" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.generate_idx_eq_keys" class = "fn" > generate_idx_eq_keys< / a > (& self) -> < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > < a href = "#" class = "tooltip" data-notable-ty = "Vec<String>" > ⓘ< / a > < / h4 > < / section > < section id = "tymethod.syntax" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/
2022-10-07 11:23:12 +02:00
< p > This is unsafe as you are unable to distinguish the case between
the value already existing, OR the value being an incorrect type to add
to the set.< / p >
2023-05-05 13:23:43 +02:00
< / div > < / details > < section id = "method.is_empty" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#120-122" > source< / a > < h4 class = "code-header" > fn < a href = "#method.is_empty" class = "fn" > is_empty< / a > (& self) -> < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.bool.html" > bool< / a > < / h4 > < / section > < section id = "method.migrate_iutf8_iname" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#124-127" > source< / a > < h4 class = "code-header" > fn < a href = "#method.migrate_iutf8_iname" class = "fn" > migrate_iutf8_iname< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "type" href = "type.ValueSet.html" title = "type kanidmd_lib::valueset::ValueSet" > ValueSet< / a > > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > < / h4 > < / section > < section id = "method.migrate_session_to_apitoken" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#129-132" > source< / a > < h4 class = "code-header" > fn < a href = "#method.migrate_session_to_apitoken" class = "fn" > migrate_session_to_apitoken< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "type" href = "type.ValueSet.html" title = "type kanidmd_lib::valueset::ValueSet" > ValueSet< / a > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > < / h4 > < / section > < section id = "method.get_ssh_tag" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#134-136" > source< / a > < h4 class = "code-header" > fn < a href = "#method.get_ssh_tag" class = "fn" > get_ssh_tag< / a > (& self, _tag: & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > < / h4 > < / section > < section id = "method.as_ref_uuid_iter" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#138-140" > source< / a > < h4 class = "code-header" > fn < a href = "#method.as_ref_uuid_iter" class = "fn" > as_ref_uuid_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > > + '_> > < / h4 > < / section > < section id = "method.as_utf8_iter" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#142-146" > source< / a > < h4 class = "code-header" > fn < a href = "#method.as_utf8_iter" class = "fn" > as_utf8_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > < / h4 > < / section > < section i
& self
2023-05-06 10:03:15 +02:00
) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > < / h4 > < / section > < section id = "method.as_oauthscope_iter" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#176-182" > source< / a > < h4 class = "code-header" > fn < a href = "#method.as_oauthscope_iter" class = "fn" > as_oauthscope_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > < / h4 > < / section > < section id = "method.as_sshpubkey_str_iter" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#184-186" > source< / a > < h4 class = "code-header" > fn < a href = "#method.as_sshpubkey_str_iter" class = "fn" > as_sshpubkey_str_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > < / h4 > < / section > < section id = "method.as_email_str_iter" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#188-190" > source< / a > < h4 class = "code-header" > fn < a href = "#method.as_email_str_iter" class = "fn" > as_email_str_iter< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/boxed/struct.Box.html" title = "struct alloc::boxed::Box" > Box< / a > < dyn < a class = "trait" href = "https://doc.rust-lang.org/1.69.0/core/iter/traits/iterator/trait.Iterator.html" title = "trait core::iter::traits::iterator::Iterator" > Iterator< / a > < Item = & < a class = "primitive" href = "https://doc.rust-lang.org/1.69.0/std/primitive.str.html" > str< / a > > + '_> > < / h4 > < / section > < section id = "method.as_utf8_set" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#192-195" > source< / a > < h4 class = "code-header" > fn < a href = "#method.as_utf8_set" class = "fn" > as_utf8_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < & < a class = "struct" href = "../idm/authsession/struct.Set.html" title = "struct kanidmd_lib::idm::authsession::Set" > BTreeSet< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.69.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > > < / h4 > < / section > < section id = "method.as_iutf8_set" class = "method" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/valueset/mod.rs.html#197-200" > source< / a > < h4 class = "code-header" > fn < a href = "#method.as_iutf8_set" class = "fn" > as_iutf8_set< / a > (& self) -> < a class = "enum" href = "https://doc.rust-lang.org/1.69.0/core/optio