Seriously?!?
At least cover it with a tarp, tent, sleeping bag, jacket, raincoat, something.
It is never good to allow electronics to get wet. There is a small watch battery on the motherboard that will provide an electric current and possibly cause a short with the rain water. The PSU, the hard drives, water within the motherboard slots...
This can't be a real question.