Ecto.Association.Has
The association struct for has_one and has_many associations.
Its fields are:
cardinality- The association cardinalityfield- The name of the association field on the modelowner- The model where the association was definedrelated- The model that is associatedowner_key- The key on theownermodel used for the associationrelated_key- The key on therelatedmodel used for the associationqueryable- The real query to use for querying associationon_delete- The action taken on associations when model is deletedon_replace- The action taken on associations when model is replacedon_cast- The changeset function to call during castingdefaults- Default fields used when building the association