make Jid fields public

This commit is contained in:
lumi 2017-02-19 00:01:18 +01:00
parent 18327f522c
commit 9c035af4a3

View file

@ -13,9 +13,9 @@ pub enum JidParseError {
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Jid {
node: Option<String>,
domain: String,
resource: Option<String>,
pub node: Option<String>,
pub domain: String,
pub resource: Option<String>,
}
impl fmt::Display for Jid {