besu/
table.rs

1/// The definitions of a database table.
2///
3/// This is implemented on the model-struct which is generated by the `#[derive(Table)]` attribute.
4pub trait Table: 'static {
5    /// The name of the table. This is used verbatim in the SQL queries.
6    const NAME: &'static str;
7
8    /// The user-defined struct representing a single row in the table.
9    /// This is the struct that has the `#[derive(Table)]` applied to it.
10    type Model;
11}