Struct zxcvbn::matching::Match
[−]
[src]
pub struct Match { pub i: usize, pub j: usize, pub token: String, pub pattern: MatchPattern, pub guesses: Option<u64>, }
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.
Trait Implementations
impl Debug for Match
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Match
[src]
fn clone(&self) -> Match
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Match
[src]
fn eq(&self, __arg_0: &Match) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Match) -> bool
[src]
This method tests for !=
.