bitwarden_generators::username

Function username

Source
pub(crate) async fn username(
    input: UsernameGeneratorRequest,
    http: &Client,
) -> Result<String, UsernameError>
Expand description

Implementation of the username generator.

Note: The HTTP client is passed in as a required parameter for convenience, as some username generators require making API calls.