SystemPackage
type SystemPackage
System package
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 SystemPackage struct {
// contains filtered or unexported fields
}
func LiftFromExternalSystemPackage
func LiftFromExternalSystemPackage(handle uint64) *SystemPackage
func NewSystemPackage
func NewSystemPackage(version *Version, modules [][]byte, dependencies []*ObjectId) *SystemPackage
func SystemPackageFromBcs
func SystemPackageFromBcs(bcs []byte) (*SystemPackage, error)
Create this type from BCS encoded bytes.
func SystemPackageFromJson
func SystemPackageFromJson(json string) (*SystemPackage, error)
Create this type from a JSON encoded string.
func (*SystemPackage) DebugString
func (_self *SystemPackage) DebugString() string
func (*SystemPackage) Dependencies
func (_self *SystemPackage) Dependencies() []*ObjectId
func (*SystemPackage) Destroy
func (object *SystemPackage) Destroy()
func (*SystemPackage) Eq
func (_self *SystemPackage) Eq(other *SystemPackage) bool
func (*SystemPackage) Modules
func (_self *SystemPackage) Modules() [][]byte
func (*SystemPackage) Ne
func (_self *SystemPackage) Ne(other *SystemPackage) bool
func (*SystemPackage) ToBcs
func (_self *SystemPackage) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*SystemPackage) ToDisplayString
func (_self *SystemPackage) 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 (*SystemPackage) ToJson
func (_self *SystemPackage) ToJson() (string, error)
Convert this type to a JSON encoded string.
func (*SystemPackage) Version
func (_self *SystemPackage) Version() *Version