make Jid fields public
This commit is contained in:
parent
18327f522c
commit
9c035af4a3
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue