[][src]Attribute Macro impl_table::impl_table

#[impl_table]

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.