Skip to main content

Module engine_enums

Module engine_enums 

Source
Expand description

Postgres enum types for the engine journal schema.

Provides Diesel 2.x ToSql/FromSql impls for:

  • CommandTypeengine_command_type enum
  • EventTypeengine_event_type enum

Structs§

DbUuid
Newtype wrapper for uuid::Uuid with Diesel ToSql/FromSql impls. Needed because orphan rules prevent deriving AsExpression/FromSqlRow on the bare uuid::Uuid type.
DirectiveActionKeySql
SQL type marker for the directive_action_key Postgres enum.
EngineCommandTypeSql
SQL type marker for the engine_command_type Postgres enum.
EngineEventTypeSql
SQL type marker for the engine_event_type Postgres enum.

Enums§

CommandType
Rust-side mirror of the engine_command_type Postgres enum.
DirectiveActionKeyDb
Rust-side mirror of the directive_action_key Postgres enum.
EventType
Rust-side mirror of the engine_event_type Postgres enum.