Skip to main content

Module codegen

Module codegen 

Source

Re-exports§

pub use crate::config::Config;

Constants§

PARAM_LOCATIONS
The canonical ordering for parameter locations in generated signatures.
RUST_KEYWORDS

Functions§

generate_doc_comment
generate_operations
Generate Rust source code for a list of operations.
generate_operations_tokens
Generate token streams for a list of operations.
generate_types
Generate Rust source code for a list of type definitions.
generate_types_tokens
Generate token streams for a list of type definitions.
group_by_tag
location_arg_name
location_suffix
multipart_body_struct_name
Return the body struct name for a multipart operation, if it has fields.
primitive_to_tokens
status_code_variant_name
to_pascal_ident
to_snake_ident
type_ref_to_tokens