Structs§
- AsFeature
Name - Formats a uniquified resource name as a Cargo feature name.
- 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 - A
CookedGraphdecorated with Rust-specific information. - Codegen
Library - Codegen
Method - 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
Types Module - Generates the
types/mod.rsmodule. - 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.
- Unique
Ident - An identifier that’s unique within its
UniqueIdentsscope. - Unique
Idents - A scope for generating unique, valid Rust identifiers.
Enums§
- Cargo
Manifest Error - CfgFeature
- Generates a
#[cfg(...)]attribute for conditional compilation. - Codegen
Ident Usage - Emits a
UniqueIdentas an idiomatic Rust identifier. - Date
Time Format - The format to use for
date-timetypes. - Dependency
- An entry in the
dependenciessection of a Cargo manifest. - Ident
Mapping - An item with a uniquified Rust identifier in a
CodegenGraph. - Package
Error - Resource
Group - A key used to group a resource’s operations into modules and derive Cargo features for resource operations and types.
- 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