How Can I Export the Table Structure?

You are advised to use the Data Studio graphical client to export table data. You can export data from:

For details, see "Exporting Table Data" in the Tool Guide.