Function users::get_user_by_name [] [src]

pub fn get_user_by_name(username: &str) -> Option<User>

Return a User object if one exists for the given username; otherwise, return None.