I wouldn't leave handguns in foam lined plastic cases, or long guns in cases either. The foam or whatever kind of lining will absorb and hold moisture.
![]()
I've had about two dozen Smith & Wesson 3rd Gens in foam lined plastic cases for almost 20+ years and none of them have any surface rust at all on them. And I live in Southeast Louisiana where the air is always wet with like 90% humidity.