Skip to content

Commit 17da499

Browse files
committed
Impl Clone + Copy for Format
1 parent 0d11db6 commit 17da499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgres-types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +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)]
847+
#[derive(Clone, Copy, Debug)]
848848
pub enum Format {
849849
/// Text format (UTF-8)
850850
Text,

0 commit comments

Comments
 (0)