Skip to main content

from_xml_str

Function from_xml_str 

Source
pub fn from_xml_str<T: FromStr>(
    into: &mut Option<T>,
    field: &'static str,
    deserializer: &mut Deserializer<'_, '_>,
) -> Result<(), Error>
Expand description

Deserialize a value from a string using FromStr

Helper function for deserializing types that implement FromStr.