A student says she took part in a meningitis vaccine trial as she wanted to help people in the future.