Function async_graphql_value::to_value [−][src]
pub fn to_value<T: Serialize>(value: T) -> Result<ConstValue, SerializerError>
Expand description
Convert a T
into ConstValue
which is an enum that can represent any valid GraphQL data.