Skip to main content

Module schema_type

Module schema_type 

Source

Structs§

BinaryRestrictions
FieldDiscriminator
NamedFieldType
NumericRestrictions
Inline numeric refinement carried by the numeric SchemaType variants.
PathSpec
PermissionCardSpec
Spec for a SchemaType::PermissionCard capability node.
QuantitySpec
QuantityValue
Fixed-point decimal value with unit: numeric value = mantissa * 10^(-scale). unit is a free-form string at the value level; the schema’s QuantitySpec constrains the accepted set.
QuotaTokenSpec
ResultSpec
SecretSpec
TextRestrictions
UnionBranch
UnionSpec
An inferred-tag sum governed by the canonical portable pair-classification contract.
UrlRestrictions
VariantCaseType

Enums§

DiscriminatorRule
How the decoder identifies that a value belongs to a given union branch.
NumericBound
A numeric bound usable across every numeric representation.
NumericBoundError
Error returned when constructing a numeric bound from an invalid value.
NumericRepr
The concrete numeric representation of a numeric SchemaType variant.
NumericRestrictionError
Reasons a numeric restriction set is not well-formed for a given repr.
PathDirection
PathKind
SchemaType
One schema type in the recursive in-memory representation.

Functions§

numeric_bound_cmp
Numeric comparison of two bounds of the same family. Returns None when the families differ (which callers treat as a family mismatch / “not a subtype”).