Function async_graphql_value::to_value
source · [−]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.