Impl Clone + Copy for Format

This commit is contained in:
Harry Maclean 2022-08-03 23:49:19 +12:00
parent 0d11db6940
commit 17da49912d

View File

@ -844,7 +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)]
#[derive(Clone, Copy, Debug)]
pub enum Format {
/// Text format (UTF-8)
Text,