pub struct PasswordArgs {
pub capitals_off: bool,
pub numerals_off: bool,
pub symbols_off: bool,
pub exclude_chars: Vec<char>,
pub include_chars: Option<Vec<char>>,
pub min_capitals: Option<u32>,
pub min_numerals: Option<u32>,
pub min_symbols: Option<u32>,
pub pattern: Option<Vec<PatternChar>>,
pub length: u32,
pub password_count: u32,
}Expand description
Arguments structure for password generation
Fields§
§capitals_off: bool§numerals_off: bool§symbols_off: bool§exclude_chars: Vec<char>§include_chars: Option<Vec<char>>§min_capitals: Option<u32>§min_numerals: Option<u32>§min_symbols: Option<u32>§pattern: Option<Vec<PatternChar>>§length: u32§password_count: u32Auto Trait Implementations§
impl Freeze for PasswordArgs
impl RefUnwindSafe for PasswordArgs
impl Send for PasswordArgs
impl Sync for PasswordArgs
impl Unpin for PasswordArgs
impl UnwindSafe for PasswordArgs
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