body: Make the string public.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-20 01:31:03 +01:00
parent f3c9a58862
commit 55f5435f6e

View file

@ -7,7 +7,7 @@ use ns::JABBER_CLIENT_NS;
#[derive(Debug)]
pub struct Body {
body: String,
pub body: String,
}
pub fn parse_body(root: &Element) -> Result<Body, Error> {