Generally it goes like this:
Simple Carbon steels (low allow)rust the easiest -1095,1080,1055,5160 and so forth
Semi stainless steels or high alloy carbon steels have pretty good rust resistance - D2 steel, cpm 3v, INFI (busse only)
Stainless steels have the best rust resistance - s30v, 154cm/cpm 154, elmax , m390 and so forth
Depending on your needs and uses each steel has advantages and draw backs, some are more well rounded than others but cost more$.
Also rust proof steels are available like H1 if you need absolutely maximum rust resistance but they sacrifice in other areas in order to be virtually impervious to rust.
This is very GENERAL hope it helps