Skip to main content

from_str

Function from_str 

Source
pub fn from_str<'de, T: Deserialize<'de>>(s: &'de str) -> Result<T, Error>
Expand description

Deserialize a NestedText string into a type that implements Deserialize.

Since NestedText only has string scalars, numeric/boolean fields are parsed from their string representation.