pub struct PasswordStrength {
pub level: PasswordStrengthLevel,
pub score: u8,
pub feedback: Vec<String>,
}Expand description
Password strength assessment.
Fields§
§level: PasswordStrengthLevel§score: u8§feedback: Vec<String>Trait Implementations§
Source§impl Clone for PasswordStrength
impl Clone for PasswordStrength
Source§fn clone(&self) -> PasswordStrength
fn clone(&self) -> PasswordStrength
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PasswordStrength
impl RefUnwindSafe for PasswordStrength
impl Send for PasswordStrength
impl Sync for PasswordStrength
impl Unpin for PasswordStrength
impl UnwindSafe for PasswordStrength
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