Struct gurkle_codegen::GraphQLClientCodegenOptions [−][src]
pub struct GraphQLClientCodegenOptions { pub operation_name: Option<String>, pub struct_name: Option<String>, // some fields omitted }
Expand description
Used to configure code generation.
Fields
operation_name: Option<String>
Name of the operation we want to generate code for. If it does not match, we use all queries.
struct_name: Option<String>
The name of implemention target struct.
Implementations
Creates an empty options object with default params. It probably wants to be configured.
A path to a file to include in the module to force Cargo to take into account changes in the query files when recompiling.
Comma-separated list of additional traits we want to derive for variables.
Comma-separated list of additional traits we want to derive for variables.
All the variable derives to be rendered.
Traits we want to derive for responses.
Additional traits we want to derive for responses.
Comma-separated list of additional traits we want to derive for responses.
The deprecation strategy to adopt.
Target module visibility.
The name of implemention target struct.
Name of the operation we want to generate code for. If none is selected, it means all operations.
A path to a file to include in the module to force Cargo to take into account changes in the schema files when recompiling.
A path to a file to include in the module to force Cargo to take into account changes in the query files when recompiling.
The identifier to use when referring to the struct implementing GraphQLRequest, if any.
The identifier to use when referring to the struct implementing GraphQLRequest, if any.
Set the normalization mode for the generated code.
The normalization mode for the generated code.
Get the custom scalar definitions module
Set the custom scalar definitions module
Get the externally defined enums type names
Set the externally defined enums type names
Auto Trait Implementations
impl RefUnwindSafe for GraphQLClientCodegenOptions
impl !Send for GraphQLClientCodegenOptions
impl !Sync for GraphQLClientCodegenOptions
impl Unpin for GraphQLClientCodegenOptions
impl UnwindSafe for GraphQLClientCodegenOptions