Expand description
This module holds traits and structs for working with models
Structs
Traits
- exposes a
NEW
constant, which act like Default::default but constant. - Expose a models’ fields on the type level using indexes
- Generic access to a patch’s fields
- A patch which contains its model’s primary key.
- Trait implementing most database interactions for a struct.
- Trait implemented on Patches i.e. a subset of a model’s fields.
- Update a model’s field based on the model’s primary key
Type Aliases
- The Condition type returned by Identifiable::as_condition