Skip to main content

SQLTableInfo

Trait SQLTableInfo 

Source
pub trait SQLTableInfo: Send + Sync {
    // Required method
    fn name(&self) -> &'static str;

    // Provided methods
    fn schema(&self) -> Option<&'static str> { ... }
    fn qualified_name(&self) -> Cow<'static, str> { ... }
}
Expand description

Runtime name information of a table, usable as a trait object.

Required Methods§

Source

fn name(&self) -> &'static str

Unqualified table name.

Provided Methods§

Source

fn schema(&self) -> Option<&'static str>

Schema namespace for this table, if any.

Source

fn qualified_name(&self) -> Cow<'static, str>

Table name with its schema, if any (schema.table).

Trait Implementations§

Source§

impl Debug for dyn SQLTableInfo

Source§

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

Formats the value using the given formatter. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§