Module welds::model_traits
source · Structs§
- The db column name to use for a field
- a unique identifier for a table.
Traits§
- Used to link a models schema to the model
- How welds knows what columns exist on your model This trait is impl by the model’s schema not the model
- If the model can be uniquely identifed by a single column, This is used to create get_by_id methods