Loss of value on a Prius after a rear end collision?

If the car has extensive damage to the frame, as you say, I would think you’d have a good case for insisting that the insurance company declare the car a “total loss”, as in “totalled.” In this case, the insurance company takes the car and gives you “replacement value” to buy another one.