Function async_graphql::from_value
source · pub fn from_value<T>(value: ConstValue) -> Result<T, DeserializerError>where
T: DeserializeOwned,Expand description
Interpret a ConstValue as an instance of type T.
pub fn from_value<T>(value: ConstValue) -> Result<T, DeserializerError>where
T: DeserializeOwned,Interpret a ConstValue as an instance of type T.