That is exactly why I have a hitch in my receiver 100% of the time. I've been struck like that at least 4 times. Each time, there was zero damage to my truck.
In fact, in once case, there was a very impatient little sports car that was riding my rear like a horny dog. It was in bumper-to-bumper rush hour traffic, so everyone was boxed in. Traffic was moving at about 40 mph when I saw the pack ahead of me come to an abrupt stop. Knowing that the guy behind me was too short to see around my truck, I probably waited just a little longer than I needed to before applying my brakes... HARD. Sure enough, he kissed my hitch. Since traffic had fully stopped at that point, I got out, walked around the back to a huge cloud of steam. The hitch punctured his radiator. He got out, looked at both vehicles, and said, "Well, it doesn't look like your truck has any damage..." I said, "Yup. Take care." I got back in and left with the moving traffic - leaving him on the side of the road. I felt bad for... wait. No, I didn't feel bad at all. I can only hope he no longer tailgates like that. This was before I had my rear and side cameras, unfortunately.