pub fn from_iter<Iter, T>(iter: Iter) -> Result<T>
where
    T: de::DeserializeOwned,
    Iter: IntoIterator<Item = (String, String)>,
{
    T::deserialize(Deserializer::new(iter.into_iter(), None)).map_err(|error| match error {
        Error::MissingValue(value) => Error::MissingValue(value.to_uppercase()),
        _ => error,
    })
}
Deserializes a type based on an iterable of `(String, String)`
representing keys and values
src/lib.rs