Skip to main content

generate_random_string

Function generate_random_string 

Source
pub fn generate_random_string(length: u16) -> String
Expand description

Generate a random string of a particular length that only contains
letters and numbers.

length The length of the generated string.

Returns the generated string.