Skip to main content

RowMapper

Derive Macro RowMapper 

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

RowMapper Pattern - Database row to struct mapping (saves ~50 lines per struct)