Seems to be expecting primitive types.
My quick-and-dirty fix would be to make 1 array per field of your struct then map the constructor to the resulting matrices.
Then again this is just a silly hack without knowing any of your particular needs.
As a disclaimer I’m still learning julia, but solving these kind of problems is a great way to improve.