RdbcTable

Trait RdbcTable 

Source
pub trait RdbcTable {
    // Required methods
    fn get_table() -> impl RdbcIdent;
    fn get_columns() -> Vec<impl RdbcIdent>;

    // Provided methods
    fn get_primary_key() -> impl RdbcIdent { ... }
    fn get_union_key() -> Vec<impl RdbcIdent> { ... }
}
Expand description

RdbcTable which use for declare a struct to table

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§