Is there a easy way to set trim_text to false in the Deserializer::from_str when i use quick_xml::de::from_str?
|
pub fn from_reader(reader: R) -> Self { |
|
let mut reader = Reader::from_reader(reader); |
|
reader |
|
.expand_empty_elements(true) |
|
.check_end_names(true) |
|
.trim_text(true); |
|
Self::new(reader) |
|
} |
Is there a easy way to set trim_text to false in the
Deserializer::from_strwhen i usequick_xml::de::from_str?quick-xml/src/de/mod.rs
Lines 160 to 167 in a4be484