Function to_string_with_opt

Source
pub fn to_string_with_opt<T>(
    value: &T,
    top_ptr: usize,
    ser: XmlSerializer,
) -> Result<String>
where T: Serialize,
Expand description

To xml string with custom XmlSerializer settings.

§Errors

serde(fork version) Error defined on crate’s trace definition, but will not fail due to mere XML stringing.

§Info

This can be done in partial mode by eliminating the root string.