ObjectIn
ObjectIn
enum 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.
ObjectIn.data(version:digest:owner:)
case data(version: Version, digest: ObjectDigest, owner: Owner)
The old version, digest and owner.
ObjectIn.missing
case missing
toBcs()
func toBcs() throws -> Data
Convert this type to BCS encoded bytes.
toDisplayString()
func toDisplayString() -> String
Render this type as human-readable text.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
toJson()
func toJson() throws -> String
Convert this type to a JSON encoded string.