[][src]Struct near_runtime_fees::RuntimeFeesConfig

pub struct RuntimeFeesConfig {
    pub action_receipt_creation_config: Fee,
    pub data_receipt_creation_config: DataReceiptCreationConfig,
    pub action_creation_config: ActionCreationConfig,
    pub storage_usage_config: StorageUsageConfig,
    pub burnt_gas_reward: Rational,
}

Fields

action_receipt_creation_config: Fee

Describes the cost of creating an action receipt, ActionReceipt, excluding the actual cost of actions.

data_receipt_creation_config: DataReceiptCreationConfig

Describes the cost of creating a data receipt, DataReceipt.

action_creation_config: ActionCreationConfig

Describes the cost of creating a certain action, Action. Includes all variants.

storage_usage_config: StorageUsageConfig

Describes fees for storage.

burnt_gas_reward: Rational

Fraction of the burnt gas to reward to the contract account for execution.

Implementations

impl RuntimeFeesConfig[src]

pub fn free() -> Self[src]

Trait Implementations

impl Clone for RuntimeFeesConfig[src]

impl Debug for RuntimeFeesConfig[src]

impl Default for RuntimeFeesConfig[src]

impl<'de> Deserialize<'de> for RuntimeFeesConfig[src]

impl Eq for RuntimeFeesConfig[src]

impl Hash for RuntimeFeesConfig[src]

impl PartialEq<RuntimeFeesConfig> for RuntimeFeesConfig[src]

impl Serialize for RuntimeFeesConfig[src]

impl StructuralEq for RuntimeFeesConfig[src]

impl StructuralPartialEq for RuntimeFeesConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.