Attribute Macro impl_table

Source
#[impl_table]
Expand description

Collecte information to be used to derive a table struct.

Options are:

  • table name in database. Required.
  • adaptor name. Only “rusqlite” is supported at the moment.
  • generated fields. id, created_at and updated_at are supported.

See test/sample.rs for examples.