Skip to main content

Crate resolute_derive

Crate resolute_derive 

Source
Expand description

Derive macros for resolute: FromRow, PgEnum, PgComposite, PgDomain.

Attribute Macros§

test
Attribute macro for database-backed tests.

Derive Macros§

FromRow
Derive FromRow for structs with named fields.
PgComposite
Derive Encode, Decode, DecodeText, and PgType for a Rust struct representing a PostgreSQL composite type.
PgDomain
Derive Encode, Decode, DecodeText, and PgType for a newtype struct representing a PostgreSQL domain type.
PgEnum
Derive Encode, Decode, DecodeText, and PgType for a Rust enum representing a PostgreSQL enum type.