Re-exports§
pub use crate::models::meta::MetaType;pub use crate::models::Ident;pub use crate::models::IdentType;pub use crate::models::Name;
Structs§
- BoxFlags
- Flags to tell the
Generatorhow to deal with boxed types. - Config
- Configuration structure for the
generatemethod. - Generator
Config - Configuration for the code generator.
- Generator
Flags - Different flags that control what code the
Generatoris generating. - Ident
Triple - Identifier that is used inside the config.
- Interpreter
Config - Configuration for the schema interpreter.
- Interpreter
Flags - Flags to control the
Interpreter. - Optimizer
Config - Configuration for the type information optimizer.
- Optimizer
Flags - Flags to control the
Optimizer. - Parser
Config - Configuration for the schema parser.
- Parser
Flags - Flags to control the
Parser. - Renderer
Config - Configuration for the actual code rendering.
- Renderer
Flags - Different flags that control what code the
Rendereris generating. - Type
Postfix - Postfixed that will be added to the different types generated by the code generator.
Enums§
- DynType
Traits - Defines which additional traits should be implemented by the generated traits of dynamic types.
- Generate
- Configuration which types the
Generatorshould generate code for used inGeneratorConfig. - Namespace
Ident - Identifies a namespace by either it’s known prefix or by the namespace directly.
- Render
Step - Configuration for the
RenderStepss theRenderershould use for rendering the code. - Resolver
- Configuration for the
Resolvers used inParserConfig. - Schema
- Configuration for the schemas to load used in
ParserConfig. - Serde
XmlRs Version - Version of
serde-xml-rsto render the code for. - Typedef
Mode - Tells the
Generatorhow to deal with type definitions.
Traits§
- Render
Step Config - Helper trait to deal with custom render steps.