PostgresTableInfo

Trait PostgresTableInfo 

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

    // Provided method
    fn dependencies(&self) -> Box<[&'static dyn PostgresTableInfo]> { ... }
}

Required Methods§

Source

fn type(&self) -> &PostgresSchemaType

Source

fn columns(&self) -> Box<[&'static dyn PostgresColumnInfo]>

Provided Methods§

Source

fn dependencies(&self) -> Box<[&'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

Implementors§