jingle_ibb: Make the fields in Transport public.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-24 19:25:00 +01:00
parent 2b19a415d4
commit 90f1792ebc

View file

@ -10,9 +10,9 @@ use ibb::Stanza;
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub struct Transport { pub struct Transport {
block_size: u16, pub block_size: u16,
sid: String, pub sid: String,
stanza: Stanza, pub stanza: Stanza,
} }
fn optional_attr<T: FromStr>(root: &Element, attr: &str) -> Option<T> { fn optional_attr<T: FromStr>(root: &Element, attr: &str) -> Option<T> {