Crate benzina

Crate benzina 

Source

Modules§

errorpostgres
example_generatedexample-generated
This module shows an example of code generated by the typed_uuid macro. IT MUST NOT BE USED OUTSIDE THIS CRATE.
sql_typespostgres

Macros§

joinderive
Convert the output of a query containing joins into a properly nested structure.
json_deserialize_as
Allows using deserialize_as for benzina Json and Jsonb structs.
typed_uuid
Creates one or more new types that wrap a Uuid.

Structs§

Arrayarray
A diesel Array serialization and deserialization wrapper without NULL items
ArrayWithNullableItemsarray
A diesel Array serialization and deserialization wrapper with NULL items
Jsonjson
A diesel Json serialization and deserialization wrapper
Jsonbjson
A diesel Jsonb serialization and deserialization wrapper
NullableJsonjson
A diesel Nullable<Json> serialization and deserialization wrapper
NullableJsonbjson
A diesel Nullable<Jsonb> serialization and deserialization wrapper
U15postgres
A positive i16
U31postgres
A positive i32
U63postgres
A positive i64

Derive Macros§

Enumderive
Derive FromSql and ToSql for a Rust enum. Represents a PostgreSQL enum as a Rust enum.