[][src]Enum zxcvbn::matching::patterns::MatchPattern

pub enum MatchPattern {
    Dictionary(DictionaryPattern),
    Spatial(SpatialPattern),
    Repeat(RepeatPattern),
    Sequence(SequencePattern),
    Regex(RegexPattern),
    Date(DatePattern),
    BruteForce,
}

Pattern type used to detect a match

Variants

Dictionary(DictionaryPattern)

A match based on a word in a dictionary

A match based on keys being close to one another on the keyboard

A match based on repeating patterns

Sequence(SequencePattern)

A match based on sequences of characters, e.g. "abcd"

A match based on one of the regex patterns used in zxcvbn.

A match based on date patterns

BruteForce

A match based on bruteforce attempting to guess a password

Trait Implementations

impl Clone for MatchPattern[src]

impl Default for MatchPattern[src]

impl PartialEq<MatchPattern> for MatchPattern[src]

impl Debug for MatchPattern[src]

impl StructuralPartialEq for MatchPattern[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]