SQLTableInfo

Trait SQLTableInfo 

Source
pub trait SQLTableInfo:
    Any
    + Send
    + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn type(&self) -> SQLSchemaType;
    fn columns(&self) -> Box<[&'static dyn SQLColumnInfo]>;
    fn without_rowid(&self) -> bool;
    fn strict(&self) -> bool;
}

Required Methods§

Source

fn name(&self) -> &str

Source

fn type(&self) -> SQLSchemaType

Source

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

Source

fn without_rowid(&self) -> bool

Source

fn strict(&self) -> bool

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
Source§

impl<'a, V: SQLParam + 'a> ToSQL<'a, V> for &'static dyn SQLTableInfo

Source§

fn to_sql(&self) -> SQL<'a, V>

Implementors§