Trait odbc_api_helper::Print
source · pub trait Print: Sized {
fn convert_table(self) -> Result<Table, Error>;
fn print_all_tables(self) -> Result<(), Error> { ... }
fn table_string(self) -> Result<String, Error> { ... }
}Required Methods
fn convert_table(self) -> Result<Table, Error>
Provided Methods
fn print_all_tables(self) -> Result<(), Error>
fn table_string(self) -> Result<String, Error>
Implementations on Foreign Types
sourceimpl Print for DmTableDesc
impl Print for DmTableDesc
fn convert_table(self) -> Result<Table, Error>
Implementors
impl Print for QueryResult
impl Print for TableDescResultInner
impl<T> Print for Twhere
T: Cursor,
Print Cursor output to table.E.g:
> run you code...
╭────┬────────────┬────────────────────────────┬────────────────────────────╮
│ id │ name │ created_at │ updated_at │
├────┼────────────┼────────────────────────────┼────────────────────────────┤
│ 1 │ hallo │ 2022-08-24 15:50:36.000000 │ 2022-08-24 15:50:36.000000 │
╰────┴────────────┴────────────────────────────┴────────────────────────────╯