Skip to main content

PgComposite

Derive Macro PgComposite 

Source
#[derive(PgComposite)]
{
    // Attributes available to this derive:
    #[pg_type]
}
Expand description

Derive macro for PostgreSQL composite types. Derive Encode, Decode, DecodeText, and PgType for a Rust struct representing a PostgreSQL composite type.