pub fn encode<T: Encodable>(object: &T) -> String {
    let mut s = String::new();
    {
        let mut encoder = Encoder::new(&mut s);
        let _ = object.encode(&mut encoder);
    }
    s
}
/// Shortcut function to encode a `T` into an XML `String`
Shortcut function to encode a `T` into an XML `String`
Shortcut function to encode a ` T ` into an XML ` String `
pub fn encode<T: Encodable>(object: &T) -> String {
    let mut s = String::new();
    {
        let mut encoder = Encoder::new(&mut s);
        let _ = object.encode(&mut encoder);
    }
    s
}
pub fn encode < T : Encodable > ( object : & T ) -> String { let mut s = String :: new ( ) ; { let mut encoder = Encoder :: new ( & mut s ) ; let _ = object . encode ( & mut encoder ) ; } s }
Shortcut function to encode a `T` into an XML `String`
Shortcut function to encode a ` T ` into an XML ` String `
object
&T