Struct zxcvbn::matching::Match [−][src]
pub struct Match {
pub i: usize,
pub j: usize,
pub token: String,
pub pattern: MatchPattern,
pub guesses: Option<u64>,
}
Expand description
A match of a predictable pattern in the password.
Fields
i: usize
Beginning of the match.
j: usize
End of the match.
token: String
Token that has been matched.
pattern: MatchPattern
Pattern type and details used to detect this match.
guesses: Option<u64>
Estimated number of tries for guessing the match.
Implementations
Get the range of the index of the chars that are included in the match.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Match
impl UnwindSafe for Match
Blanket Implementations
Mutably borrows from an owned value. Read more