From f43911ccbae3856b35b0d3e8ec6ac6450e295da6 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 11 Jul 2023 21:28:42 +0100 Subject: remove serde functions --- src/jid/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jid') diff --git a/src/jid/mod.rs b/src/jid/mod.rs index b2a03ea..e13fed7 100644 --- a/src/jid/mod.rs +++ b/src/jid/mod.rs @@ -1,6 +1,6 @@ use std::str::FromStr; -#[derive(PartialEq, Debug)] +#[derive(PartialEq, Debug, Clone)] pub struct JID { // TODO: validate localpart (length, char] pub localpart: Option, -- cgit