Function lta_models::utils::de::from_str

source ·
pub fn from_str<'de, T, D>(deserializer: D) -> Result<T, D::Error>where
    T: FromStr,
    T::Err: Display,
    D: Deserializer<'de>,
Expand description

Generic implementation of FromStr

Errors

Fails when data cant be deserialized to String