pub fn get_value<T: Any>( values: &dyn Values, key: impl AsRef<str>, ) -> Result<&T, Error>
Try to find key in values and then to convert it to T.
key
values
T