pub enum PasswordFeedback {
Show 30 variants
UseAFewWordsAvoidCommonPhrases,
NoNeedForSymbolsDigitsOrUppercaseLetters,
AddAnotherWordOrTwo,
CapitalizationDoesntHelpVeryMuch,
AllUppercaseIsAlmostAsEasyToGuessAsAllLowercase,
ReversedWordsArentMuchHarderToGuess,
PredictableSubstitutionsDontHelpVeryMuch,
UseALongerKeyboardPatternWithMoreTurns,
AvoidRepeatedWordsAndCharacters,
AvoidSequences,
AvoidRecentYears,
AvoidYearsThatAreAssociatedWithYou,
AvoidDatesAndYearsThatAreAssociatedWithYou,
StraightRowsOfKeysAreEasyToGuess,
ShortKeyboardPatternsAreEasyToGuess,
RepeatsLikeAaaAreEasyToGuess,
RepeatsLikeAbcAbcAreOnlySlightlyHarderToGuess,
ThisIsATop10Password,
ThisIsATop100Password,
ThisIsACommonPassword,
ThisIsSimilarToACommonlyUsedPassword,
SequencesLikeAbcAreEasyToGuess,
RecentYearsAreEasyToGuess,
AWordByItselfIsEasyToGuess,
DatesAreOftenEasyToGuess,
NamesAndSurnamesByThemselvesAreEasyToGuess,
CommonNamesAndSurnamesAreEasyToGuess,
TooShort(u32),
BadListed,
DontReusePasswords,
}
Variants§
UseAFewWordsAvoidCommonPhrases
NoNeedForSymbolsDigitsOrUppercaseLetters
AddAnotherWordOrTwo
CapitalizationDoesntHelpVeryMuch
AllUppercaseIsAlmostAsEasyToGuessAsAllLowercase
ReversedWordsArentMuchHarderToGuess
PredictableSubstitutionsDontHelpVeryMuch
UseALongerKeyboardPatternWithMoreTurns
AvoidRepeatedWordsAndCharacters
AvoidSequences
AvoidRecentYears
AvoidYearsThatAreAssociatedWithYou
AvoidDatesAndYearsThatAreAssociatedWithYou
StraightRowsOfKeysAreEasyToGuess
ShortKeyboardPatternsAreEasyToGuess
RepeatsLikeAaaAreEasyToGuess
RepeatsLikeAbcAbcAreOnlySlightlyHarderToGuess
ThisIsATop10Password
ThisIsATop100Password
ThisIsACommonPassword
ThisIsSimilarToACommonlyUsedPassword
SequencesLikeAbcAreEasyToGuess
RecentYearsAreEasyToGuess
AWordByItselfIsEasyToGuess
DatesAreOftenEasyToGuess
NamesAndSurnamesByThemselvesAreEasyToGuess
CommonNamesAndSurnamesAreEasyToGuess
TooShort(u32)
BadListed
DontReusePasswords
Trait Implementations§
source§impl Debug for PasswordFeedback
impl Debug for PasswordFeedback
source§impl<'de> Deserialize<'de> for PasswordFeedback
impl<'de> Deserialize<'de> for PasswordFeedback
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for PasswordFeedback
impl Display for PasswordFeedback
Human-readable PasswordFeedback result.
source§impl Ord for PasswordFeedback
impl Ord for PasswordFeedback
source§fn cmp(&self, other: &PasswordFeedback) -> Ordering
fn cmp(&self, other: &PasswordFeedback) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PasswordFeedback
impl PartialEq for PasswordFeedback
source§impl PartialOrd for PasswordFeedback
impl PartialOrd for PasswordFeedback
source§impl Serialize for PasswordFeedback
impl Serialize for PasswordFeedback
source§impl<'__s> ToSchema<'__s> for PasswordFeedback
impl<'__s> ToSchema<'__s> for PasswordFeedback
impl Eq for PasswordFeedback
impl StructuralPartialEq for PasswordFeedback
Auto Trait Implementations§
impl Freeze for PasswordFeedback
impl RefUnwindSafe for PasswordFeedback
impl Send for PasswordFeedback
impl Sync for PasswordFeedback
impl Unpin for PasswordFeedback
impl UnwindSafe for PasswordFeedback
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.