View Source Noizu.ElixirCore.PartialObjectCheck.TypeConstraint (noizu_core v1.0.28)
The TypeConstraint struct represents a type constraint for a field or the
entire partial object.
It holds the actual type constraint, which can be a basic type (e.g., :integer, :map),
a specific module, or a list of constraints. The TypeConstraint is used as part
of the PartialObjectCheck and FieldConstraint to define the expected type of a field or object.