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