PostgresTableInfo

Trait PostgresTableInfo 

Source
pub trait PostgresTableInfo: SQLTableInfo {
    // Required methods
    fn type(&self) -> &PostgresSchemaType;
    fn postgres_columns(&self) -> &'static [&'static dyn PostgresColumnInfo];
    fn postgres_dependencies(&self) -> &'static [&'static dyn PostgresTableInfo];
}

Required Methods§

Source

fn type(&self) -> &PostgresSchemaType

Source

fn postgres_columns(&self) -> &'static [&'static dyn PostgresColumnInfo]

Source

fn postgres_dependencies(&self) -> &'static [&'static dyn PostgresTableInfo]

Returns all tables this table depends on via foreign keys.

Trait Implementations§

Source§

impl Debug for dyn PostgresTableInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementations on Foreign Types§

Source§

impl<T: PostgresTableInfo> PostgresTableInfo for &'static T

Source§

fn type(&self) -> &PostgresSchemaType

Source§

fn postgres_columns(&self) -> &'static [&'static dyn PostgresColumnInfo]

Source§

fn postgres_dependencies(&self) -> &'static [&'static dyn PostgresTableInfo]

Implementors§