pub struct AnalyzedPassword { /* private fields */ }
Expand description
The struct of an analysis.
Implementations§
Source§impl AnalyzedPassword
impl AnalyzedPassword
pub fn password(&self) -> &str
pub fn length(&self) -> usize
pub fn spaces_count(&self) -> usize
pub fn numbers_count(&self) -> usize
pub fn lowercase_letters_count(&self) -> usize
pub fn uppercase_letters_count(&self) -> usize
pub fn symbols_count(&self) -> usize
pub fn other_characters_count(&self) -> usize
pub fn consecutive_count(&self) -> usize
pub fn non_consecutive_count(&self) -> usize
pub fn progressive_count(&self) -> usize
pub fn into_password(self) -> String
pub fn is_common(&self) -> bool
Trait Implementations§
Source§impl Clone for AnalyzedPassword
impl Clone for AnalyzedPassword
Source§fn clone(&self) -> AnalyzedPassword
fn clone(&self) -> AnalyzedPassword
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AnalyzedPassword
impl Debug for AnalyzedPassword
Source§impl PartialEq for AnalyzedPassword
impl PartialEq for AnalyzedPassword
impl StructuralPartialEq for AnalyzedPassword
Auto Trait Implementations§
impl Freeze for AnalyzedPassword
impl RefUnwindSafe for AnalyzedPassword
impl Send for AnalyzedPassword
impl Sync for AnalyzedPassword
impl Unpin for AnalyzedPassword
impl UnwindSafe for AnalyzedPassword
Blanket Implementations§
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