VersionAssignment
type VersionAssignment
Object version assignment from consensus
BCS
The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).
type VersionAssignment struct {
// contains filtered or unexported fields
}
func LiftFromExternalVersionAssignment
func LiftFromExternalVersionAssignment(handle uint64) *VersionAssignment
func NewVersionAssignment
func NewVersionAssignment(objectId *ObjectId, version *Version) *VersionAssignment
func VersionAssignmentFromBcs
func VersionAssignmentFromBcs(bcs []byte) (*VersionAssignment, error)
Create this type from BCS encoded bytes.
func VersionAssignmentFromJson
func VersionAssignmentFromJson(json string) (*VersionAssignment, error)
Create this type from a JSON encoded string.
func (*VersionAssignment) DebugString
func (_self *VersionAssignment) DebugString() string
func (*VersionAssignment) Destroy
func (object *VersionAssignment) Destroy()
func (*VersionAssignment) Eq
func (_self *VersionAssignment) Eq(other *VersionAssignment) bool
func (*VersionAssignment) Ne
func (_self *VersionAssignment) Ne(other *VersionAssignment) bool
func (*VersionAssignment) ObjectId
func (_self *VersionAssignment) ObjectId() *ObjectId
func (*VersionAssignment) ToBcs
func (_self *VersionAssignment) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*VersionAssignment) ToDisplayString
func (_self *VersionAssignment) 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.
func (*VersionAssignment) ToJson
func (_self *VersionAssignment) ToJson() (string, error)
Convert this type to a JSON encoded string.
func (*VersionAssignment) Version
func (_self *VersionAssignment) Version() *Version