Fix compile error at struct setter
Add struct setter example