Type alias MoveStruct

MoveStruct: {
    abilities: MoveAbility[];
    fields: MoveStructField[];
    generic_type_params: MoveFunctionGenericTypeParam[];
    is_native: boolean;
    name: string;
}

A move struct

Type declaration

  • abilities: MoveAbility[]

    Abilities associated with the struct

  • fields: MoveStructField[]

    Fields associated with the struct

  • generic_type_params: MoveFunctionGenericTypeParam[]

    Generic types associated with the struct

  • is_native: boolean

    Whether the struct is a native struct of Move

  • name: string