Skip to main content

Module parse

Module parse 

Source
Expand description

FromEure implementations for schema types.

This module provides two categories of types:

  1. FromEure implementations for existing types - Types that don’t contain SchemaNodeId can implement FromEure directly (e.g., BindingStyle, TextSchema).

  2. Parsed types - Syntactic representations of schema types that use NodeId instead of SchemaNodeId (e.g., ParsedArraySchema, ParsedRecordSchema).

§Architecture

EureDocument
    ↓ FromEure trait
ParsedSchemaNode, ParsedArraySchema, ...
    ↓ Converter (convert.rs)
SchemaDocument, SchemaNode, ArraySchema, ...

Structs§

ParsedArraySchema
Parsed array schema with NodeId references.
ParsedExtTypeSchema
Parsed extension type schema with NodeId reference.
ParsedFloatSchema
Parsed float schema - syntactic representation with range as string.
ParsedIntegerSchema
Parsed integer schema - syntactic representation with range as string.
ParsedMapSchema
Parsed map schema with NodeId references.
ParsedRecordFieldSchema
Parsed record field schema with NodeId reference.
ParsedRecordSchema
Parsed record schema with NodeId references.
ParsedSchemaMetadata
Parsed schema metadata - extension metadata via $ext-type on $types.type.
ParsedSchemaNode
Parsed schema node - full syntactic representation of a schema node.
ParsedTupleSchema
Parsed tuple schema with NodeId references.
ParsedUnionSchema
Parsed union schema with NodeId references.

Enums§

ParsedSchemaNodeContent
Parsed schema node content - the type definition with NodeId references.
ParsedUnknownFieldsPolicy
Policy for handling fields not defined in record properties.