Struct passwords::analyzer::AnalyzedPassword
source · 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<AnalyzedPassword> for AnalyzedPassword
impl PartialEq<AnalyzedPassword> for AnalyzedPassword
source§fn eq(&self, other: &AnalyzedPassword) -> bool
fn eq(&self, other: &AnalyzedPassword) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnalyzedPassword
Auto Trait Implementations§
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