By the time of Star Trek, there will be no more "jobs". All will be done by robots and ai software. Everyone else will just be looking for entertainment and personal development. So, by and large, they are all just rotating through to see if they like what they see. The only "jobs" will be scientists, trying to extend knowledge.