From 9c035af4a3416b0595cdee2afd67fff5009b9d74 Mon Sep 17 00:00:00 2001 From: lumi Date: Sun, 19 Feb 2017 00:01:18 +0100 Subject: [PATCH] make Jid fields public --- src/jid.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jid.rs b/src/jid.rs index d66755e8..7e89be36 100644 --- a/src/jid.rs +++ b/src/jid.rs @@ -13,9 +13,9 @@ pub enum JidParseError { #[derive(Debug, Clone, PartialEq, Eq)] pub struct Jid { - node: Option, - domain: String, - resource: Option, + pub node: Option, + pub domain: String, + pub resource: Option, } impl fmt::Display for Jid {