How to use own defined struct in .api file

how about this?