Module traits

Source

Traits§

CrudOps
A trait for extending PostgreSQL client with CRUD operations.
FromRow
Trait for converting database rows to Rust structs. This trait is implemented by the derive macro FromRow.
SqlParams
Trait for providing SQL parameters. This trait is implemented by the derive macro SqlParams.
SqlQuery
Trait for generating SQL queries. This trait is implemented by the derive macro Queryable, Insertable, Updateable, and Deletable.
UpdateParams
Trait for providing UPDATE parameters. This trait is implemented by the derive macro UpdateParams.