Skip to content

Commit f048f39

Browse files
committed
Derive Debug for Format
It's useful to be able to inspect Format values when debugging.
1 parent d7b10f2 commit f048f39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

postgres-types/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,7 @@ pub trait ToSql: fmt::Debug {
844844
/// Supported Postgres message format types
845845
///
846846
/// Using Text format in a message assumes a Postgres `SERVER_ENCODING` of `UTF8`
847+
#[derive(Debug)]
847848
pub enum Format {
848849
/// Text format (UTF-8)
849850
Text,

0 commit comments

Comments
 (0)