Attribute Macro simple_tables::macros::table[][src]

#[table]
Expand description

Initialises a struct to be a Table that holds information about a table row.

Examples

#[table_row]
struct TableRow {
    id: i32,
    name: String,
    email: String
}

#[table(rows = TableRow)]
struct Table {}