Input
type Input
An input to a user transaction
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 Input struct {
// contains filtered or unexported fields
}
func InputFromBcs
func InputFromBcs(bcs []byte) (*Input, error)
Create this type from BCS encoded bytes.
func InputFromJson
func InputFromJson(json string) (*Input, error)
Create this type from a JSON encoded string.
func InputNewImmutableOrOwned
func InputNewImmutableOrOwned(objectRef ObjectReference) *Input
A move object that is either immutable or address owned
func InputNewPure
func InputNewPure(value []byte) *Input
For normal operations this is required to be a move primitive type and not contain structs or objects.
func InputNewReceiving
func InputNewReceiving(objectRef ObjectReference) *Input
func InputNewShared
func InputNewShared(objectId *ObjectId, initialSharedVersion *Version, mutable bool) *Input
A move object whose owner is "Shared"
func LiftFromExternalInput
func LiftFromExternalInput(handle uint64) *Input
func (*Input) DebugString
func (_self *Input) DebugString() string
func (*Input) Destroy
func (object *Input) Destroy()
func (*Input) Eq
func (_self *Input) Eq(other *Input) bool
func (*Input) Ne
func (_self *Input) Ne(other *Input) bool
func (*Input) ToBcs
func (_self *Input) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*Input) ToDisplayString
func (_self *Input) 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 (*Input) ToJson
func (_self *Input) ToJson() (string, error)
Convert this type to a JSON encoded string.