From d9e31e9525956aceacab87e9f4104afd87bb6ea9 Mon Sep 17 00:00:00 2001 From: yuyawk Date: Wed, 6 Oct 2021 05:00:14 +0900 Subject: [PATCH] derive Clone, Copy for AnyKind --- sqlx-core/src/any/kind.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-core/src/any/kind.rs b/sqlx-core/src/any/kind.rs index 8d5454ed45..b3278a9650 100644 --- a/sqlx-core/src/any/kind.rs +++ b/sqlx-core/src/any/kind.rs @@ -1,7 +1,7 @@ use crate::error::Error; use std::str::FromStr; -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] pub enum AnyKind { #[cfg(feature = "postgres")] Postgres,