Expand description
Rust-oriented data type representations for code generation.
This module defines the full set of intermediate structures used to represent resolved and Rust-specific data types, derived from interpreted and optimized XML schemas meta types.
These types abstract the XML schema constructs into idiomatic Rust equivalents like structs, enums, options, and vectors, and form the backbone of the code generation phase.
Structs§
- Build
InData - Contains additional information for the rendering process of a
MetaTypeVariant::BuildIntype. - Complex
Base - Contains basic information for that is shared between
ComplexDataEnumandComplexDataStruct. - Complex
Data Attribute - Contains the details of an XML attribute.
- Complex
Data Content - Contains details about the content of a struct.
- Complex
Data Element - Contains the details of an XML element.
- Complex
Data Enum - Represents a rust enum.
- Complex
Data Struct - Represents a rust struct.
- Complex
Flags - Different flags that may be set for a
ComplexBasetype. - Constrains
Data - Code generator data for the constrains of a specific type.
- Custom
Data - Contains additional information for the rendering process of a
MetaTypeVariant::Customtype. - Data
Type - Represents a fully evaluated and enriched type definition used for rendering.
- Data
Types - Holds all generated Rust data types along with associated metadata.
- Derived
Type - Represents a derived type used by
DynamicData - Dynamic
Data - Contains additional information for the rendering process of a
MetaTypeVariant::Dynamictype. - Enumeration
Data - Contains additional information for the rendering process of a
MetaTypeVariant::Enumerationtype. - Enumeration
Type Variant - Represents a enumeration variant used by
EnumerationData. - Path
Data - Represents a type ready to be resolved and rendered for a specific module.
- Reference
Data - Contains additional information for the rendering process of a
MetaTypeVariant::Referencetype. - Simple
Data - Contains additional information for the rendering process of a
MetaTypeVariant::SimpleTypetype. - TagName
- Represents the name of a XML tag including an optional namespace prefix.
- Union
Data - Contains additional information for the rendering process of a
MetaTypeVariant::Uniontype. - Union
Type Variant - Type variant used in
UnionData.
Enums§
- Complex
Data - Contains additional information for the rendering process of a
MetaTypeVariant::All,MetaTypeVariant::Choice,MetaTypeVariant::SequenceorMetaTypeVariant::ComplexTypetype. - Complex
Data Element Origin - Origin of a
ComplexDataElement. - Config
Value - A generic configuration value wrapper that supports different merging strategies.
- Data
Type Variant - Represents the specific form of a
DataTypeas evaluated by the generator. - Occurs
- Defines the occurrence (how often the field is used) of a field in a specific type.
- Struct
Mode - Content of a rust struct.