Macro pgde::pg_type_implementation

source ·
macro_rules! pg_type_implementation {
    ( $( $x:ty ),* ) => { ... };
}
Expand description

A macro for implementing from_row on primitive types. Used internally to implement from_row on bool, i32, String, etc.

§Example

pg_type_implementation![bool]