pub struct PasswordOptions { /* private fields */ }Implementations§
Source§impl PasswordOptions
impl PasswordOptions
Sourcepub fn special_characters(self, count: i32) -> Self
pub fn special_characters(self, count: i32) -> Self
Set the minimum number of special characters.
Sourcepub fn special_characterset(self, charset: String) -> Self
pub fn special_characterset(self, charset: String) -> Self
Set the custom set of special characters.
Trait Implementations§
Source§impl Debug for PasswordOptions
impl Debug for PasswordOptions
Auto Trait Implementations§
impl Freeze for PasswordOptions
impl RefUnwindSafe for PasswordOptions
impl Send for PasswordOptions
impl Sync for PasswordOptions
impl Unpin for PasswordOptions
impl UnwindSafe for PasswordOptions
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