Module config

Module config 

Source
Expand description

Contains the Config structures for the generate method.

Re-exports§

pub use crate::models::meta::MetaType;
pub use crate::models::schema::Namespace;
pub use crate::models::schema::NamespacePrefix;
pub use crate::models::Ident;
pub use crate::models::IdentType;
pub use crate::models::Name;

Structs§

BoxFlags
Flags to tell the Generator how to deal with boxed types.
Config
Configuration structure for the generate method.
GeneratorConfig
Configuration for the code generator.
GeneratorFlags
Different flags that control what code the Generator is generating.
IdentTriple
Identifier that is used inside the config.
InterpreterConfig
Configuration for the schema interpreter.
InterpreterFlags
Flags to control the Interpreter.
OptimizerConfig
Configuration for the type information optimizer.
OptimizerFlags
Flags to control the Optimizer.
ParserConfig
Configuration for the schema parser.
ParserFlags
Flags to control the Parser.
RendererConfig
Configuration for the actual code rendering.
RendererFlags
Different flags that control what code the Renderer is generating.
TypePostfix
Postfixed that will be added to the different types generated by the code generator.

Enums§

DynTypeTraits
Defines which additional traits should be implemented by the generated traits of dynamic types.
Generate
Configuration which types the Generator should generate code for used in GeneratorConfig.
NamespaceIdent
Identifies a namespace by either it’s known prefix or by the namespace directly.
RenderStep
Configuration for the RenderStepss the Renderer should use for rendering the code.
Resolver
Configuration for the Resolvers used in ParserConfig.
Schema
Configuration for the schemas to load used in ParserConfig.
SerdeXmlRsVersion
Version of serde-xml-rs to render the code for.
TypedefMode
Tells the Generator how to deal with type definitions.

Traits§

RenderStepConfig
Helper trait to deal with custom render steps.