Crate graphql_toolkit_writer

Source
Expand description

A GraphQL document writer.

Structs§

Serializer
A structure for serializing Rust GraphQL AST types to GraphQL documents.

Traits§

Formatter
A trait for writing GraphQL documents.
Serialize
A trait for serializing a GraphQL AST into a GraphQL document.

Functions§

to_string
Serialize the given GraphQL AST as a compact GraphQL document string.
to_string_pretty
Serialize the given GraphQL AST as a pretty-printed GraphQL document string.
to_vec
Serialize the given GraphQL AST as a compact GraphQL document byte vector.
to_vec_pretty
Serialize the given GraphQL AST as a pretty-printed GraphQL document byte vector.
to_writer
Serialize the given GraphQL AST as a compact GraphQL document into the I/O stream.
to_writer_pretty
Serialize the given GraphQL AST as a pretty-printed GraphQL document into the I/O stream.