[−][src]Function serde_dhall::from_str_auto_type
pub fn from_str_auto_type<T>(s: &str) -> Result<T> where
T: Deserialize + StaticType,
Deserialize an instance of type T
from a string of Dhall text,
additionally checking that it matches the type of T
.
Like from_str, but this additionally checks that
the type of the provided expression matches the output type T
. The StaticType trait
captures Rust types that are valid Dhall types.