summaryrefslogtreecommitdiffstats
path: root/src/jid
diff options
context:
space:
mode:
Diffstat (limited to 'src/jid')
-rw-r--r--src/jid/mod.rs2
1 files changed, 1 insertions, 1 deletions
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<String>,