pub struct ExecutionSettings {
Show 13 fields pub block_info: BlockInfo, pub max_pages: WasmPage, pub page_costs: PageCosts, pub existential_deposit: u128, pub host_fn_weights: HostFnWeights, pub forbidden_funcs: BTreeSet<SysCallName>, pub mailbox_threshold: u64, pub waitlist_cost: u64, pub dispatch_hold_cost: u64, pub reserve_for: u32, pub reservation: u64, pub random_data: (Vec<u8>, u32), pub rent_cost: u128,
}
Expand description

Execution settings for handling messages.

Fields§

§block_info: BlockInfo

Contextual block information.

§max_pages: WasmPage

Max amount of pages in program memory during execution.

§page_costs: PageCosts

Pages costs.

§existential_deposit: u128

Minimal amount of existence for account.

§host_fn_weights: HostFnWeights

Weights of host functions.

§forbidden_funcs: BTreeSet<SysCallName>

Functions forbidden to be called.

§mailbox_threshold: u64

Threshold for inserting into mailbox

§waitlist_cost: u64

Cost for single block waitlist holding.

§dispatch_hold_cost: u64

Cost of holding a message in dispatch stash.

§reserve_for: u32

Reserve for parameter of scheduling.

§reservation: u64

Cost for reservation holding.

§random_data: (Vec<u8>, u32)

Most recently determined random seed, along with the time in the past since when it was determinable by chain observers.

§rent_cost: u128

Rent cost per block.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> JsonSchemaMaybe for T