Rust is due to the use of black iron pipe rather than galvanized pipe. Black is only used on interiors of structures and galvanized on exterior.
Black will rust............galvanized will not. Apparently no code issues in the RV industry as in residential and commercial industry. Primer and paint the black pipe to stop rust.
Forrest