Struct pallet_ovm::CurrentSchedule[][src]

pub struct CurrentSchedule(_);
Expand description

Current cost schedule for contracts.

Trait Implementations

The type that get/take returns.

Module prefix. Used for generating final key.

Storage prefix. Used for generating final key.

Convert an optional value retrieved from storage to the type queried.

Convert a query to an optional value into storage.

Generate the full key used in top storage.

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

Convert from a value of T into an equivalent instance of Option<Self>. Read more

Consume self to return Some equivalent value of Option<T>. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Cast reference.

Cast reference.

Cast mutable reference.

Cast mutable reference.

Get a reference to the inner from the outer.

Get a mutable reference to the inner from the outer.

Should always be Self

Convert from a value of T into an equivalent instance of Self. Read more

Consume self to return an equivalent value of T. Read more

The type that get/take return.

Get the storage key.

Does the value (explicitly) exist in storage?

Load the value from the provided storage instance.

Try to get the underlying value from the provided storage instance. Read more

Translate a value from some previous type (O) to the current type. Read more

Store a value under this key into the provided storage instance.

Store a value under this key into the provided storage instance; this uses the query type rather than the underlying value. Read more

Clear the storage value.

Mutate the value

Mutate the value if closure returns Ok

Take a value from storage, removing it afterwards.

Append the given item to the value in the storage. Read more

Read the length of the storage value without decoding the entire value. 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.

The counterpart to unchecked_from.

Consume self to return an equivalent value of T.