exchema v0.4.0 Exchema.Types.OneStructOf
This is a specification of the Exchema.Types.OneOf
type.
This optmizes the type discobery by checking the data against the
module .__struct__
directly.
This also has better error reporting, because it returns the errors of the given type.