@aptos-labs/ts-sdk - v3.1.1
    Preparing search index...

    Type Alias MoveStruct

    A move struct

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

    Properties

    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_event: boolean

    Whether the struct is a module event (aka v2 event). This will be false for v1 events because the value is derived from the #[event] attribute on the struct in the Move source code. This attribute is only relevant for v2 events.

    is_native: boolean

    Whether the struct is a native struct of Move

    name: string