From d6ed12626e0d183f0ed3089c584bc3fa2f3fb5b9 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Sat, 16 Dec 2023 09:11:55 -0700 Subject: [PATCH] Implement Clone and Copy for sql_types::Ltree --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 8e0f71b..6c17367 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,7 @@ pub mod sql_types { use diesel::query_builder::QueryId; use diesel::sql_types::SqlType; - #[derive(SqlType, QueryId)] + #[derive(SqlType, Clone, Copy, QueryId)] #[diesel(postgres_type(name = "ltree"))] pub struct Ltree;