/// Returns a default user with the given username.
Returns a default user with the given username.
Returns a default user with the given username .
pub fn default_with_username(username: impl Into<String>) -> Self {
        Self {
            username: username.into(),
            ..Self::default()
        }
    }
pub fn default_with_username ( username : impl Into < String > ) -> Self { Self { username : username . into ( ) , .. Self :: default ( ) } }
Returns a default user with the given username.
Returns a default user with the given username .
username
impl Into<String>