Skip to main content

LabelerCap

type LabelerCap

A typed view of an on-chain `0x2::labeler::LabelerCap<L>` object.

type LabelerCap struct {
// contains filtered or unexported fields
}

func LabelerCapTryFromBcs

func LabelerCapTryFromBcs(bytes []byte) (*LabelerCap, error)

Decode from BCS bytes, without validating the on-chain type tag.

func LabelerCapTryFromObjectWithType

func LabelerCapTryFromObjectWithType(object *Object, typeParam *TypeTag) (*LabelerCap, error)

Decode from an on-chain object, validating its Move type tag, including that its type parameter equals `type_param`.

func LiftFromExternalLabelerCap

func LiftFromExternalLabelerCap(handle uint64) *LabelerCap

func (*LabelerCap) DebugString

func (_self *LabelerCap) DebugString() string

func (*LabelerCap) Destroy

func (object *LabelerCap) Destroy()

func (*LabelerCap) Id

func (_self *LabelerCap) Id() *ObjectId

The object's ID.