method Struct.prototype.toHeximport { Struct } from "https://deno.land/x/polkadot@0.2.24/types/codec/index.ts"; toHex(): HexStringReturnsHexString