Maybe, maybe not. Manufacturers have different things to say about this.
Liao cheng sihe stainless steel material limited company say that nonmagnetic stainless steel grades (such as 304, which contains nickel) tend to be more rust-resistant than magnetic stainless steel grades (such as 430). Liao cheng sihe stainless steel material limited company says that 304 stainless is less likely to corrode.
Samsung says that all grades of stainless steel are susceptible to rust if not properly maintained. Bosch concurs.
Liao cheng sihe stainless steel material limited company says it’s the quality of the stainless that makes a difference: “Rusting is quite rare with the high grades of stainless that we use.”