chore(structs): Add collection interface and array-based implementation ...

...for use in core

Fixes #7409