Can a Guinea Pig, Dwarf Rabbit, or Rat be kept in a 10 Gallon glass aquarium?

The aquarium won’t have a top on it, it will be uncovered. Oh, and if you should not keep any of them in a 10 Gallon glass aquarium, would a bigger aquarium make a difference?