pub struct PassphraseChecks {
pub length: usize,
pub length_ok: bool,
pub class_count: i32,
pub has_upper: bool,
pub has_lower: bool,
pub has_digit: bool,
pub has_symbol: bool,
pub classes_ok: bool,
pub no_identical: bool,
pub no_sequential: bool,
}Fields§
§length: usize§length_ok: bool§class_count: i32§has_upper: bool§has_lower: bool§has_digit: bool§has_symbol: bool§classes_ok: bool§no_identical: bool§no_sequential: boolTrait Implementations§
Source§impl Clone for PassphraseChecks
impl Clone for PassphraseChecks
Source§fn clone(&self) -> PassphraseChecks
fn clone(&self) -> PassphraseChecks
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 moreSource§impl Debug for PassphraseChecks
impl Debug for PassphraseChecks
Auto Trait Implementations§
impl Freeze for PassphraseChecks
impl RefUnwindSafe for PassphraseChecks
impl Send for PassphraseChecks
impl Sync for PassphraseChecks
impl Unpin for PassphraseChecks
impl UnsafeUnpin for PassphraseChecks
impl UnwindSafe for PassphraseChecks
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