[−][src]Struct zxcvbn::matching::Match
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.
Methods
impl Match
[src]
pub fn range_inclusive(&self) -> RangeInclusive<usize>
[src]
Get the range of the index of the chars that are included in the match.
Trait Implementations
impl Clone for Match
[src]
impl Debug for Match
[src]
impl Default for Match
[src]
impl PartialEq<Match> for Match
[src]
impl StructuralPartialEq for Match
[src]
Auto Trait Implementations
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnwindSafe for Match
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,