Expand description
Derived traits for zino
.
The following traits can be derived:
Model
: General data model.ModelHooks
: Hooks for the model.Entity
: An interface for the model entity.DecodeRow
: A collection of values that can be decoded from a single row.Schema
: Database schema.ModelAccessor
: Access model fields.
Derive Macrosยง
- Derives the
DecodeRow
trait. - Derives the
Entity
trait. - Derives the
Model
trait. - Derives the
ModelAccessor
trait. - Derives the
ModelHooks
trait. - Derives the
Schema
trait.