Implement Debug for statements

This commit is contained in:
Julius de Bruijn 2020-07-09 17:14:15 +02:00 committed by Ryan Leckey
parent a4dc3dfbd7
commit bfa29e521b
2 changed files with 2 additions and 0 deletions

View file

@ -1,5 +1,6 @@
use super::MySqlColumn; use super::MySqlColumn;
#[derive(Debug)]
pub struct MySqlStatement { pub struct MySqlStatement {
pub(crate) id: u32, pub(crate) id: u32,
pub(crate) columns: Vec<MySqlColumn>, pub(crate) columns: Vec<MySqlColumn>,

View file

@ -1,5 +1,6 @@
use super::{PgColumn, PgTypeInfo}; use super::{PgColumn, PgTypeInfo};
#[derive(Debug)]
pub struct PgStatement { pub struct PgStatement {
pub(crate) id: u32, pub(crate) id: u32,
pub(crate) columns: Vec<PgColumn>, pub(crate) columns: Vec<PgColumn>,