aboutsummaryrefslogtreecommitdiffstats
path: root/stanza/src/client/presence.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-02-25 23:30:27 +0000
committerLibravatar cel 🌸 <cel@bunny.garden>2025-02-25 23:30:27 +0000
commit861db1197db6d3f9ee0ce3f6e3434666da05a95c (patch)
tree522cd6b2697f7a866bcce226bcd26abbe4931abb /stanza/src/client/presence.rs
parent4dac2dbe1d86d058b191f0d82c781d27479e4f74 (diff)
downloadluz-861db1197db6d3f9ee0ce3f6e3434666da05a95c.tar.gz
luz-861db1197db6d3f9ee0ce3f6e3434666da05a95c.tar.bz2
luz-861db1197db6d3f9ee0ce3f6e3434666da05a95c.zip
feat(stanza): impl Clone for Stanza types
Diffstat (limited to 'stanza/src/client/presence.rs')
-rw-r--r--stanza/src/client/presence.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/stanza/src/client/presence.rs b/stanza/src/client/presence.rs
index ff7ba24..1603ace 100644
--- a/stanza/src/client/presence.rs
+++ b/stanza/src/client/presence.rs
@@ -8,7 +8,7 @@ use peanuts::{
use super::{error::Error, XMLNS};
-#[derive(Debug)]
+#[derive(Debug, Clone)]
pub struct Presence {
pub from: Option<JID>,
pub id: Option<String>,