Yes, memset writes a 32 bit value into a contiguous region of memory of a given length starting at the given address. In your case, memset writes the region with (32bit value) 0.
So if you do a memset of length sizeof (your_struct), you should be fine: