[−][src]Struct near_runtime_fees::RuntimeFeesConfig
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.
pessimistic_gas_price_inflation_ratio: Rational
Pessimistic gas price inflation ratio.
Implementations
impl RuntimeFeesConfig
[src]
pub fn free() -> Self
[src]
pub fn min_receipt_with_function_call_gas(&self) -> Gas
[src]
The minimum amount of gas required to create and execute a new receipt with a function call action. This amount is used to determine how many receipts can be created, send and executed for some amount of prepaid gas using function calls.
Trait Implementations
impl Clone for RuntimeFeesConfig
[src]
fn clone(&self) -> RuntimeFeesConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RuntimeFeesConfig
[src]
impl Default for RuntimeFeesConfig
[src]
impl<'de> Deserialize<'de> for RuntimeFeesConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for RuntimeFeesConfig
[src]
impl Hash for RuntimeFeesConfig
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<RuntimeFeesConfig> for RuntimeFeesConfig
[src]
fn eq(&self, other: &RuntimeFeesConfig) -> bool
[src]
fn ne(&self, other: &RuntimeFeesConfig) -> bool
[src]
impl Serialize for RuntimeFeesConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for RuntimeFeesConfig
[src]
impl StructuralPartialEq for RuntimeFeesConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for RuntimeFeesConfig
impl Send for RuntimeFeesConfig
impl Sync for RuntimeFeesConfig
impl Unpin for RuntimeFeesConfig
impl UnwindSafe for RuntimeFeesConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,