ObjectIn
type ObjectIn
State of an object prior to execution
If an object exists (at root-level) in the store prior to this transaction, it should be Data, otherwise it's Missing, e.g. wrapped objects should be Missing.
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 ObjectIn interface {
Destroy()
ToBcs() ([]byte, error)
ToDisplayString() string
ToJson() (string, error)
}
func ObjectInFromBcs
func ObjectInFromBcs(bcs []byte) (ObjectIn, error)
Create this type from BCS encoded bytes.
func ObjectInFromJson
func ObjectInFromJson(json string) (ObjectIn, error)
Create this type from a JSON encoded string.