Simulation-Based Estimation of General Structural Network Models