Derive Debug for Format
It's useful to be able to inspect Format values when debugging.
This commit is contained in:
parent
d7b10f2cea
commit
f048f39812
@ -844,6 +844,7 @@ pub trait ToSql: fmt::Debug {
|
||||
/// Supported Postgres message format types
|
||||
///
|
||||
/// Using Text format in a message assumes a Postgres `SERVER_ENCODING` of `UTF8`
|
||||
#[derive(Debug)]
|
||||
pub enum Format {
|
||||
/// Text format (UTF-8)
|
||||
Text,
|
||||
|
Loading…
Reference in New Issue
Block a user