Struct keysmith::char::GenCharOpts
source · pub struct GenCharOpts {
pub nums: bool,
pub letters: bool,
pub upper: bool,
pub safe_sp_chars: bool,
pub unsafe_sp_chars: bool,
}
Expand description
Options for char()
Fields§
§nums: bool
Generate numbers?
letters: bool
Generate letters?
upper: bool
Generate uppercase letters?
safe_sp_chars: bool
Generate safe special characters?
unsafe_sp_chars: bool
Generate unsafe special characters? (false is recommended)
Trait Implementations§
source§impl Clone for GenCharOpts
impl Clone for GenCharOpts
source§fn clone(&self) -> GenCharOpts
fn clone(&self) -> GenCharOpts
Returns a copy 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 GenCharOpts
impl Debug for GenCharOpts
impl Copy for GenCharOpts
Auto Trait Implementations§
impl RefUnwindSafe for GenCharOpts
impl Send for GenCharOpts
impl Sync for GenCharOpts
impl Unpin for GenCharOpts
impl UnwindSafe for GenCharOpts
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