<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `PasswordFeedback` enum in crate `kanidm_proto`."><metaname="keywords"content="rust, rustlang, rust-lang, PasswordFeedback"><title>PasswordFeedback in kanidm_proto::v1 - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceSerif4-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../FiraSans-Regular.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../FiraSans-Medium.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceCodePro-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceSerif4-Bold.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceCodePro-Semibold.ttf.woff2"><linkrel="stylesheet"href="../../normalize.css"><linkrel="stylesheet"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"href="../../ayu.css"disabled><linkrel="stylesheet"href="../../dark.css"disabled><linkrel="stylesheet"href="../../light.css"id="themeStyle"><scriptid="default-settings"></script><scriptsrc="../../storage.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../../main.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="alternate icon"type="image/png"href="../../favicon-16x16.png"><linkrel="alternate icon"type="image/png"href="../../favicon-32x32.png"><linkrel="icon"type="image/svg+xml"href="../../favicon.svg"></head><bodyclass="rustdoc enum"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle">☰</button><aclass="sidebar-logo"href="../../kanidm_proto/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></div></a><h2class="location"></h2></nav><navclass="sidebar"><aclass="sidebar-logo"href="../../kanidm_proto/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></div></a><h2class="location"><ahref="#">PasswordFeedback</a></h2><divclass="sidebar-elems"><section><divclass="block"><h3class="sidebar-title"><ahref="#variants">Variants</a></h3><ul><li><ahref="#variant.AWordByItselfIsEasyToGuess">AWordByItselfIsEasyToGuess</a></li><li><ahref="#variant.AddAnotherWordOrTwo">AddAnotherWordOrTwo</a></li><li><ahref="#variant.AllUppercaseIsAlmostAsEasyToGuessAsAllLowercase">AllUppercaseIsAlmostAsEasyToGuessAsAllLowercase</a></li><li><ahref="#variant.AvoidDatesAndYearsThatAreAssociatedWithYou">AvoidDatesAndYearsThatAreAssociatedWithYou</a></li><li><ahref="#variant.AvoidRecentYears">AvoidRecentYears</a></li><li><ahref="#variant.AvoidRepeatedWordsAndCharacters">AvoidRepeatedWordsAndCharacters</a></li><li><ahref="#variant.AvoidSequences">AvoidSequences</a></li><li><ahref="#variant.AvoidYearsThatAreAssociatedWithYou">AvoidYearsThatAreAssociatedWithYou</a></li><li><ahref="#variant.BadListed">BadListed</a></li><li><ahref="#variant.CapitalizationDoesntHelpVeryMuch">CapitalizationDoesntHelpVeryMuch</a></li><li><ahref="#variant.CommonNamesAndSurnamesAreEasyToGuess">CommonNamesAndSurnamesAreEasyToGuess</a></li><li><ahref="#variant.DatesAreOftenEasyToGuess">DatesAreOftenEasyToGuess</a></li><li><ahref="#variant.NamesAndSurnamesByThemselvesAreEasyToGuess">NamesAndSurnamesByThemselvesAreEasyToGuess</a></li><li><ahref="#variant.NoNeedForSymbolsDigitsOrUppercaseLetters">NoNeedForSymbolsDigitsOrUppercaseLetters</a></li><li><ahref="#variant.PredictableSubstitutionsDontHelpVeryMuch">PredictableSubstitutionsDontHelpVeryMuch</a></li><li><ahref="#variant.RecentYearsAreEasyToGuess">RecentYearsAreEasyToGuess</a></li><li><ahref="#variant.RepeatsLikeAaaAreEasyToGuess">
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Instrument-for-PasswordFeedback"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-PasswordFeedback"class="anchor"></a><h3class="code-header in-band">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="fnname">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="fnname">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
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Serialize-for-PasswordFeedback-1"class="impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/erased-serde/0.3.23/src/erased_serde/ser.rs.html#238">source</a><ahref="#impl-Serialize-for-PasswordFeedback-1"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/erased-serde/0.3.23/erased_serde/ser/trait.Serialize.html"title="trait erased_serde::ser::Serialize">Serialize</a> for T<spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serialize.html"title="trait serde::ser::Serialize">Serialize</a> + ?<aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><sectionid="method.erased_serialize"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/erased-serde/0.3.23/src/erased_serde/ser.rs.html#242">source</a><ahref="#method.erased_serialize"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/erased-serde/0.3.23/erased_serde/ser/trait.Serialize.html#tymethod.erased_serialize"class="fnname">erased_serialize</a>(&self, serializer: &mut dyn <aclass="trait"href="https://docs.rs/erased-serde/0.3.23/erased_serde/ser/trait.Serializer.html"title="trait erased_serde::ser::Serializer">Serializer</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.65.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Ok, <aclass="struct"href="https://docs.rs/erased-serde/0.3.23/erased_serde/error/struct.Error.html"title="struct erased_serde::error::Error">Error</a>></h4></section></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-ToString-for-PasswordFeedback"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.65.0/src/alloc/string.rs.html#2500">source</a><ahref="#impl-ToString-for-PasswordFeedback"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.65.0/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.65.0/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> + ?<aclass="trait"href="https://doc.rust-lang.org/1.65.0/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.65.0/src/alloc/string.rs.html#2506">source</a><ahref="#method.to_string"class="anchor"></a><h4class="code-header">default fn <ahref="https://doc.rust-lang.org/1.65.0/alloc/string/trait.ToString.html#tymethod.to_string"class="fnname">to_string</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></h4></section></summary><divclass='docblock'>Converts the given value to a <code>String</code>. <ahref="https://doc.rust-lang.org/1.65.0/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-PasswordFeedback"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.65.0/src/core/convert/mod.rs.html#601">source</a><ahref="#impl-TryFrom%3CU%3E-for-PasswordFeedback"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/convert/trait.TryFrom.html"title="traitcore:
<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="fnname">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