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