aboutsummaryrefslogtreecommitdiffstats
path: root/stanza
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-03-28 21:25:36 +0000
committerLibravatar cel 🌸 <cel@bunny.garden>2025-03-28 21:25:36 +0000
commit20df3b7d6f3213bc3f5a90cc36363865b1b9e966 (patch)
treea72e360a0adbfa624f9200691e1ba3fe83199ad4 /stanza
parent7d122d244622c664a7f5d8d99efc739dba5e6a3d (diff)
downloadluz-20df3b7d6f3213bc3f5a90cc36363865b1b9e966.tar.gz
luz-20df3b7d6f3213bc3f5a90cc36363865b1b9e966.tar.bz2
luz-20df3b7d6f3213bc3f5a90cc36363865b1b9e966.zip
feat(filamento): `From` impls for disco types
Diffstat (limited to 'stanza')
-rw-r--r--stanza/src/xep_0030/items.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/stanza/src/xep_0030/items.rs b/stanza/src/xep_0030/items.rs
index 78fe332..7af2bbf 100644
--- a/stanza/src/xep_0030/items.rs
+++ b/stanza/src/xep_0030/items.rs
@@ -8,8 +8,8 @@ pub const XMLNS: &str = "http://jabber.org/protocol/disco#items";
#[derive(Debug, Clone)]
pub struct Query {
- node: Option<String>,
- items: Vec<Item>,
+ pub node: Option<String>,
+ pub items: Vec<Item>,
}
impl FromElement for Query {
@@ -35,9 +35,9 @@ impl IntoElement for Query {
#[derive(Debug, Clone)]
pub struct Item {
- jid: JID,
- name: Option<String>,
- node: Option<String>,
+ pub jid: JID,
+ pub name: Option<String>,
+ pub node: Option<String>,
}
impl FromElement for Item {