Derive Debug for Format

It's useful to be able to inspect Format values when debugging.
This commit is contained in:
Harry Maclean 2022-08-03 23:32:30 +12:00
parent d7b10f2cea
commit f048f39812

View File

@ -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,