Skip to content
StatePath
All data types

enum

A pick-one choice from a fixed menu — for example, choosing 'close' vs 'open' as the pric…

What is it

A pick-one choice from a fixed menu — for example, choosing 'close' vs 'open' as the price source.

Single-select enumeration; the subfamily names the specific kind (enum.price_source, enum.ma_type, …). Nominally distinct even though all share WireKind.ENUM.

What is it a kind of

Who makes it

No tool makes this type directly.

Who takes it

How do I turn it into something else

Fromenum

Nothing converts enum into another type.