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.
CodegenIdent
A string that’s statically guaranteed to be valid for any CodegenIdentUsage.
CodegenIdentRef
A string slice that’s guaranteed to be valid for any CodegenIdentUsage.
CodegenIdentScope
A scope for generating unique, valid Rust identifiers.
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
CodegenTypeNameSortKey
A comparator that sorts type names lexicographically.
CodegenTypePathSegment
CodegenTypesModule
Generates the types/mod.rs module.
CodegenUntaggedVariantName

Enums§

CodegenIdentUsage
CodegenTypeName

Functions§

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