How can I use bitmasks (enum) in Array of Structure?

Are you asking how to use them or how to create them?