Skip to main content

ObjectType

type ObjectType​

Type of an IOTA object

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

func LiftFromExternalObjectType​

func LiftFromExternalObjectType(handle uint64) *ObjectType

func ObjectTypeNewPackage​

func ObjectTypeNewPackage() *ObjectType

func ObjectTypeNewStruct​

func ObjectTypeNewStruct(structTag *StructTag) *ObjectType

func (*ObjectType) AsOptStruct​

func (_self *ObjectType) AsOptStruct() **StructTag

func (*ObjectType) AsStruct​

func (_self *ObjectType) AsStruct() *StructTag

func (*ObjectType) DebugString​

func (_self *ObjectType) DebugString() string

func (*ObjectType) Destroy​

func (object *ObjectType) Destroy()

func (*ObjectType) Eq​

func (_self *ObjectType) Eq(other *ObjectType) bool

func (*ObjectType) IsPackage​

func (_self *ObjectType) IsPackage() bool

func (*ObjectType) IsStruct​

func (_self *ObjectType) IsStruct() bool

func (*ObjectType) Ne​

func (_self *ObjectType) Ne(other *ObjectType) bool

func (*ObjectType) String​

func (_self *ObjectType) String() string

func (*ObjectType) ToDisplayString​

func (_self *ObjectType) ToDisplayString() string

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.