Module data

Module data 

Source
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§

BuildInData
Contains additional information for the rendering process of a MetaTypeVariant::BuildIn type.
ComplexBase
Contains basic information for that is shared between ComplexDataEnum and ComplexDataStruct.
ComplexDataAttribute
Contains the details of an XML attribute.
ComplexDataContent
Contains details about the content of a struct.
ComplexDataElement
Contains the details of an XML element.
ComplexDataEnum
Represents a rust enum.
ComplexDataStruct
Represents a rust struct.
ComplexFlags
Different flags that may be set for a ComplexBase type.
ConstrainsData
Code generator data for the constrains of a specific type.
CustomData
Contains additional information for the rendering process of a MetaTypeVariant::Custom type.
DataType
Represents a fully evaluated and enriched type definition used for rendering.
DataTypes
Holds all generated Rust data types along with associated metadata.
DerivedType
Represents a derived type used by DynamicData
DynamicData
Contains additional information for the rendering process of a MetaTypeVariant::Dynamic type.
EnumerationData
Contains additional information for the rendering process of a MetaTypeVariant::Enumeration type.
EnumerationTypeVariant
Represents a enumeration variant used by EnumerationData.
PathData
Represents a type ready to be resolved and rendered for a specific module.
ReferenceData
Contains additional information for the rendering process of a MetaTypeVariant::Reference type.
SimpleData
Contains additional information for the rendering process of a MetaTypeVariant::SimpleType type.
TagName
Represents the name of a XML tag including an optional namespace prefix.
UnionData
Contains additional information for the rendering process of a MetaTypeVariant::Union type.
UnionTypeVariant
Type variant used in UnionData.

Enums§

ComplexData
Contains additional information for the rendering process of a MetaTypeVariant::All, MetaTypeVariant::Choice, MetaTypeVariant::Sequence or MetaTypeVariant::ComplexType type.
ComplexDataElementOrigin
Origin of a ComplexDataElement.
ConfigValue
A generic configuration value wrapper that supports different merging strategies.
DataTypeVariant
Represents the specific form of a DataType as evaluated by the generator.
Occurs
Defines the occurrence (how often the field is used) of a field in a specific type.
StructMode
Content of a rust struct.