Trial data structure related helper functions for optparse-applicative.
