Skip to main content

MixedSchema

Type Alias MixedSchema 

Source
pub type MixedSchema = Schema<MixedId>;
Expand description

Type aliases for schemas during extraction (mixed temp/final IDs).

Aliased Type§

pub struct MixedSchema {
    pub id: MixedId,
    pub type_params: Vec<TypeParamName>,
    pub kind: SchemaKind<MixedId>,
}

Fields§

§id: MixedId

A unique identifier for this schema (hash of its contents)

§type_params: Vec<TypeParamName>

Type parameter names for generic types. Empty for non-generic types.

§kind: SchemaKind<MixedId>

The inner description of the schema, if it’s a struct, an enum, etc.