Module diesel::prelude

source ·
Expand description

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

Re-exports§

Macros§

Structs§

  • Connections for the SQLite backend. Unlike other backends, SQLite supported connection URLs are:

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