Module diesel::prelude

source ·
Expand description

Re-exports important traits and types. Meant to be glob imported when using Diesel.

Re-exports§

Macros§

Structs§

Enums§

Traits§

Type Aliases§

Derive Macros§

  • Implements AsChangeset
  • Implement required traits for the associations API
  • Implements Identifiable for references of the current type
  • Implements Insertable
  • Implements Queryable to load the result of statically typed queries
  • Implements QueryableByName for untyped sql queries, such as that one generated by sql_query
  • Implements Selectable