Crate ion_schema
source ·Modules§
- Provides a way to construct
DocumentAuthority
. - Re-export of the ion-rs dependency that is part of our public API.
- Provides a way to construct ISL types/constraints programmatically.
- Represents the
IonSchemaResult
type for error handling. - Represents a
Schema
which is collection of zero or moreTypeDefinition
s. Provides functions to get the underlyingTypeDefinition
s from theSchema
that can be used to validate an Ion value. - Provides functions for getting instances of
Schema
usingSchemaSystem
.
Macros§
- Equivalence for
Violation
s is not supported due to its tree structure of having children violations. This macro can be used for comparing if two violations are equal and usesflattened_violations
for the comparison. - Equivalence for
Violation
s is not supported due to its tree structure of having children violations. This macro can be used for comparing if two violations are not equal and usesflattened_violations
for the comparison. - A macro that checks some condition required to be valid ISL.
Structs§
Enums§
- Provide an Ion schema Element which includes all Elements and a document type