Expand description
Data model definitions used throughout the transformation pipeline.
This module contains structured representations of intermediate and final data forms used in parsing, interpretation, code generation, and rendering. It serves as the central type layer for schema handling and Rust code generation.
Modules§
- code
- The
codemodule contains types and helper methods to format and manage the code generated by this crate. - data
- Rust-oriented data type representations for code generation.
- meta
- The
metamodule contains allMetaTyperelated definitions and structures. - schema
- The
schemamodule contains internal representations of XML Schema (XSD) structures.
Structs§
- Explicit
Name Builder - A more explicit version of
NameBuilderthat does not add or remove any suffixes or prefixes from the generated name. This may lead to duplicated strings inside the generated name (likeFuuTypeType), but is will reduce naming conflicts in most cases. - Explicit
Naming - A more explicit version of
Namingthat does not add or remove any suffixes or prefixes from the generated name expect the one that were configured byGenerator::with_type_postfix. - Ident
Cache - Cache that keeps track of different
TypeIdentifiers. - Name
Builder - Default implementation for the
NameBuildertrait. - Naming
- Default name generation and formatting implementation.
- Property
Ident - Type that is used to identify properties (elements, attributes, enumerations, …) in the schema definition.
- Type
Ident - Type that is used to identify types in the schema definition.
Enums§
Functions§
- format_
ident - Format the passed string
sinto a valid Rust identifier by adding an underscore if it starts with a numeric character or is a Rust keyword. - format_
unknown_ variant - Format an unknown variant identifier based on the passed
id. - unify_
string - Unify the passed string
sinto a standard format.
Type Aliases§
- Attribute
Ident - Identifier used to identify attributes in the
AttributesMetastructure. - Element
Ident - Identifier used to identify elements in the
ElementsMetastructure. - Enumeration
Ident - Identifier used to identify enumerations in the
EnumerationMetaVariantsstructure. - Ident
Deprecated - Convenient type to not break the public interface.
- Type
Ident Type - Defines the type of the
TypeIdent.