Type alias SchemaEnumVariant

SchemaEnumVariant: {
    fields: SchemaFields;
    name: string;
}

Schema information for some variant of an enum (here it is an enum in Rust terms).

Type declaration

  • fields: SchemaFields

    Fields of this variant

  • name: string

    Name of the variant.

Generated using TypeDoc