The carapace or shell is an exoskeleton or external skeleton found in certain invertebrates. The carapace provides protection and rigidity to the organism. In rats the skeleton gives rigidity and protects organs.
Also, the muscular system helps in maintaining shape and helps protect many organs.
Hence the skeleton and muscles in rats perform equivalent functions as the carapace of other animals.