pub fn get_charset_from_opts(opts: GenCharOpts) -> String
Expand description

Use a GenCharOpts to create a character set.

Ex:

let opts = GenCharOpts {
    nums: true,
    letters: true,
    upper: true,
    safe_sp_chars: false,
    unsafe_sp_chars: false,
};

Will return -> 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ