jingle_ibb: Make the fields in Transport public.
This commit is contained in:
parent
2b19a415d4
commit
90f1792ebc
1 changed files with 3 additions and 3 deletions
|
@ -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> {
|
||||||
|
|
Loading…
Reference in a new issue