Structs§
- Cargo
Manifest - A
Cargo.tomlmanifest. - Cargo
Manifest Diff - A diff of changes to apply to a
CargoManifest. - Codegen
Cargo Manifest - Codegen
Client Module - Generates the
client/mod.rssource file. - Codegen
Config - Configuration for Rust code generation, read from
[package.metadata.ploidy]in theCargo.tomlof the generated crate. - Codegen
Error Module - Codegen
Graph - Decorates a
CookedGraphwith Rust-specific information. - Codegen
Ident - A string that’s statically guaranteed to be valid for any
CodegenIdentUsage. - Codegen
Ident Ref - A string slice that’s guaranteed to be valid for any
CodegenIdentUsage. - Codegen
Ident Scope - A scope for generating unique, valid Rust identifiers.
- Codegen
Library - Codegen
Method - Codegen
Module Name - A module name derived from a
CodegenTypeName. - Codegen
Operation - Generates a single client method for an API operation.
- Codegen
Primitive - Codegen
Query Parameters - Generates a query parameter struct for an API operation.
- Codegen
Resource - Generates an
impl Clientblock for a feature-gated resource, with all its operations and inline types. - Codegen
Schema Type - Generates a module for a named schema type.
- Codegen
Type Name Sort Key - A sort key for deterministic ordering of
CodegenTypeNames. - Codegen
Type Path Segment - Codegen
Types Module - Generates the
types/mod.rsmodule. - Codegen
Untagged Variant Name - Dependency
Detail - Feature
Dependencies - A set of feature dependencies to merge into a
[features]entry. - Package
- A view of the
packagesection of a Cargo manifest. - Spanned
Error - An error with source location information for diagnostics.
Enums§
- Cargo
Feature - A Cargo feature for conditionally compiling generated code.
- Cargo
Manifest Error - CfgFeature
- Generates a
#[cfg(...)]attribute for conditional compilation. - Codegen
Ident Usage - A context-aware wrapper for emitting a
CodegenIdentRefas a Rust identifier. - Codegen
Inlines - Generates an inline
mod types, with definitions for all the inline types that are reachable from a resource or schema type. - Codegen
Type Name - A name for a schema or an inline type, used in generated Rust code.
- Date
Time Format - The format to use for
date-timetypes. - Dependency
- An entry in the
dependenciessection of a Cargo manifest. - Package
Error - Rust
Edition - The Rust edition that a package is compiled with.
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