Struct near_parameters::view::RuntimeConfigView
source · pub struct RuntimeConfigView {
pub storage_amount_per_byte: Balance,
pub transaction_costs: RuntimeFeesConfigView,
pub wasm_config: VMConfigView,
pub account_creation_config: AccountCreationConfigView,
}
Expand description
View that preserves JSON format of the runtime config.
Fields§
§storage_amount_per_byte: Balance
Amount of yN per byte required to have on the account. See https://nomicon.io/Economics/Economic#state-stake for details.
transaction_costs: RuntimeFeesConfigView
Costs of different actions that need to be performed when sending and processing transaction and receipts.
wasm_config: VMConfigView
Config of wasm operations.
account_creation_config: AccountCreationConfigView
Config that defines rules for account creation.
Trait Implementations§
source§impl Clone for RuntimeConfigView
impl Clone for RuntimeConfigView
source§fn clone(&self) -> RuntimeConfigView
fn clone(&self) -> RuntimeConfigView
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RuntimeConfigView
impl Debug for RuntimeConfigView
source§impl<'de> Deserialize<'de> for RuntimeConfigView
impl<'de> Deserialize<'de> for RuntimeConfigView
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<RuntimeConfig> for RuntimeConfigView
impl From<RuntimeConfig> for RuntimeConfigView
source§fn from(config: RuntimeConfig) -> Self
fn from(config: RuntimeConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for RuntimeConfigView
impl Send for RuntimeConfigView
impl Sync for RuntimeConfigView
impl Unpin for RuntimeConfigView
impl UnwindSafe for RuntimeConfigView
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more