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)] #[derive(Debug, Clone, PartialEq, Eq)]
pub struct Jid { pub struct Jid {
node: Option<String>, pub node: Option<String>,
domain: String, pub domain: String,
resource: Option<String>, pub resource: Option<String>,
} }
impl fmt::Display for Jid { impl fmt::Display for Jid {