diff options
Diffstat (limited to '')
| -rw-r--r-- | stanza/src/xep_0030/items.rs | 10 | 
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 { | 
