pub enum MemorableCaps {
First,
Last,
}Expand description
Capitalisation style for memorable-password words.
First → Word (default; uppercase first letter, lowercase rest).
Last → worD (lowercase first letters, uppercase final letter).
Both styles always produce mixed case, satisfying typical site
password-strength requirements that demand both upper and lower.
Variants§
Trait Implementations§
Source§impl Clone for MemorableCaps
impl Clone for MemorableCaps
Source§fn clone(&self) -> MemorableCaps
fn clone(&self) -> MemorableCaps
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 MemorableCaps
impl Debug for MemorableCaps
Source§impl PartialEq for MemorableCaps
impl PartialEq for MemorableCaps
impl Copy for MemorableCaps
impl Eq for MemorableCaps
impl StructuralPartialEq for MemorableCaps
Auto Trait Implementations§
impl Freeze for MemorableCaps
impl RefUnwindSafe for MemorableCaps
impl Send for MemorableCaps
impl Sync for MemorableCaps
impl Unpin for MemorableCaps
impl UnsafeUnpin for MemorableCaps
impl UnwindSafe for MemorableCaps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.