Rust has nothing to do with tetanus. You can get it from any open wound. Splinter, needle, animal or insect bite. Even burns, frostbite, or childbirth.
Rust says a lot about what kind of conditions it’s been in, tend to be the same ones that favor the tetanus organism.