Crate ploidy_codegen_rust

Crate ploidy_codegen_rust 

Source

Structs§

CargoMetadata
Cargo metadata of any type.
CodegenCargoManifest
CodegenClientModule
Generates the client/mod.rs source file.
CodegenErrorModule
CodegenGraph
Decorates an IrGraph with Rust-specific information.
CodegenLibrary
CodegenMethod
CodegenOperation
Generates a single client method for an API operation.
CodegenResource
Generates a feature-gated impl Client block for a resource, with all its operations.
CodegenSchemaType
Generates a module for a named schema type.
CodegenStructFieldName
CodegenTypePathSegment
CodegenTypesModule
Generates the types/mod.rs module.
CodegenUntaggedVariantName
SchemaIdent
A name for a schema type that’s guaranteed to be unique through different identifier case transformations.

Enums§

CodegenIdent
CodegenTypeName

Functions§

clean
doc_attrs
Generates one or more #[doc] attributes for a schema description, wrapping at 80 characters for readability.
write_client_to_disk
write_types_to_disk