RPC_MOVE_ENUM_FIELDS

data class RPC_MOVE_ENUM_FIELDS(val name: String, val abilities: List<MoveAbility>?, val typeParameters: List<RPC_MOVE_ENUM_FIELDS.TypeParameter>?, val variants: List<RPC_MOVE_ENUM_FIELDS.Variant>?) : Fragment.Data

Constructors

Link copied to clipboard
constructor(name: String, abilities: List<MoveAbility>?, typeParameters: List<RPC_MOVE_ENUM_FIELDS.TypeParameter>?, variants: List<RPC_MOVE_ENUM_FIELDS.Variant>?)

Types

Link copied to clipboard
data class Field(val name: String, val type: RPC_MOVE_ENUM_FIELDS.Type?)
Link copied to clipboard
data class Type(val signature: Any)
Link copied to clipboard
data class TypeParameter(val isPhantom: Boolean, val constraints: List<MoveAbility>)
Link copied to clipboard
data class Variant(val name: String, val fields: List<RPC_MOVE_ENUM_FIELDS.Field>?)

Properties

Link copied to clipboard

The enum's abilities.

Link copied to clipboard

The enum's (unqualified) type name.

Link copied to clipboard

Constraints on the enum's formal type parameters. Move bytecode does not name type parameters, so when they are referenced (e.g. in field types) they are identified by their index in this list.

Link copied to clipboard

The names and types of the enum's fields. Field types reference type parameters, by their index in the defining enum's typeParameters list.