Enum sabre_sdk::protos::payload::SabrePayload_Action[][src]

pub enum SabrePayload_Action {
    ACTION_UNSET,
    CREATE_CONTRACT,
    DELETE_CONTRACT,
    EXECUTE_CONTRACT,
    CREATE_CONTRACT_REGISTRY,
    DELETE_CONTRACT_REGISTRY,
    UPDATE_CONTRACT_REGISTRY_OWNERS,
    CREATE_NAMESPACE_REGISTRY,
    DELETE_NAMESPACE_REGISTRY,
    UPDATE_NAMESPACE_REGISTRY_OWNERS,
    CREATE_NAMESPACE_REGISTRY_PERMISSION,
    DELETE_NAMESPACE_REGISTRY_PERMISSION,
}

Variants

ACTION_UNSET

CREATE_CONTRACT

DELETE_CONTRACT

EXECUTE_CONTRACT

CREATE_CONTRACT_REGISTRY

DELETE_CONTRACT_REGISTRY

UPDATE_CONTRACT_REGISTRY_OWNERS

CREATE_NAMESPACE_REGISTRY

DELETE_NAMESPACE_REGISTRY

UPDATE_NAMESPACE_REGISTRY_OWNERS

CREATE_NAMESPACE_REGISTRY_PERMISSION

DELETE_NAMESPACE_REGISTRY_PERMISSION

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Get enum i32 value.

Try to create an enum from i32 value. Return None if value is unknown. Read more

Get all enum values for enum type.

Get enum descriptor by type.

Get enum value descriptor.

Get enum descriptor.

As ref

Convert to Any

Is value non-zero?

Return ProtobufValueRef if self is Copy. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Clone this value, and then immediately put it into a Box behind a trait object of this trait. Read more

Returns the address of self. Read more

Performs the conversion.

Performs the conversion.

Clone this value, and then immediately put it into a Box behind a trait object of this trait. Read more

Returns the address of self. Read more

Given ptr, which was obtained from a prior call to Self::borrow(), return a value with the same nominal lifetime which is guaranteed to survive mutations to Self. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.