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.
SqlCommand
Trait for generating SQL commands (for INSERT/UPDATE/DELETE operations). This trait is implemented by the derive macros Insertable, Updateable, and Deletable.
SqlParams
Trait for providing SQL parameters. This trait is implemented by the derive macro SqlParams.
SqlQuery
Trait for generating SQL queries (for SELECT operations). This trait is implemented by the derive macro Queryable.
UpdateParams
Trait for providing UPDATE parameters. This trait is implemented by the derive macro UpdateParams.