Derive serde::Serialize when struct has array as one of it's member

You can:

  • just use a Vec instead
  • create a newtype wrapper around [Bar; 100] and manually implement Serialize for it by forwarding to the Serialize impl on slices.