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

Provided Methods

Implementations on Foreign Types

Implementors

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 │
╰────┴────────────┴────────────────────────────┴────────────────────────────╯