Enum (Rust)

An enum defines a type by enumerating its possible variants, where each variant can carry its own data.