Variable Struct

Struct: {
    create(base?: { fields?: { [key: string]: any } }): Struct;
    decode(input: Uint8Array | Reader, length?: number): Struct;
    encode(message: Struct, writer?: Writer): Writer;
    fromJSON(object: any): Struct;
    fromPartial(object: { fields?: { [key: string]: any } }): Struct;
    toJSON(message: Struct): unknown;
    unwrap(message: Struct): { [key: string]: any };
    wrap(object: undefined | { [key: string]: any }): Struct;
}