Skip to main content

IdOperation

type IdOperation

Defines what happened to an ObjectId during execution

BCS

The BCS serialized form for this type is defined by the following ABNF:

```text id-operation = id-operation-none =/ id-operation-created =/ id-operation-deleted

id-operation-none = %d00 id-operation-created = %d01 id-operation-deleted = %d02 ```

type IdOperation uint8
const (
IdOperationNone IdOperation = 0
IdOperationCreated IdOperation = 1
IdOperationDeleted IdOperation = 2
)

func IdOperationFromBcs

func IdOperationFromBcs(bcs []byte) (IdOperation, error)

Create this type from BCS encoded bytes.

func IdOperationFromJson

func IdOperationFromJson(json string) (IdOperation, error)

Create this type from JSON encoded string.