Derive Macro ToRow
#[derive(ToRow)]
{
// Attributes available to this derive:
#[postgresql]
#[pg]
}
Expand description
Derives [postgresql::ToRow] for a struct with named fields.
Fields are encoded in declaration order, matching a binary COPY column
list.