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. - Generator
Config - Configuration for the code generator.
- Generator
Flags - Different flags that control what code the
Generator
is 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
Renderer
is 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
Generator
should 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
RenderSteps
s theRenderer
should use for rendering the code. - Resolver
- Configuration for the
Resolver
s used inParserConfig
. - Schema
- Configuration for the schemas to load used in
ParserConfig
. - Serde
XmlRs Version - Version of
serde-xml-rs
to render the code for. - Typedef
Mode - Tells the
Generator
how to deal with type definitions.
Traits§
- Render
Step Config - Helper trait to deal with custom render steps.