Rummy is fun!,
When playing rummy, you can play both a run (what you referred to as a straight) or a set (three of a kind), however you are not playing one against another. The way to win the game is to have the highest total points at the end of a round. The round ends when your opponent knocks or goes out by discarding a final card. This depends on the version of Rummy you are playing.