Checks if struct names follow the Rust naming convention.