[−][src]Struct near_sdk::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: Ratio<isize>
Fraction of the burnt gas to reward to the contract account for execution.
pessimistic_gas_price_inflation_ratio: Ratio<isize>
Pessimistic gas price inflation ratio.
Implementations
impl RuntimeFeesConfig
[src]
pub fn free() -> RuntimeFeesConfig
[src]
pub fn min_receipt_with_function_call_gas(&self) -> u64
[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]
fn default() -> RuntimeFeesConfig
[src]
impl<'de> Deserialize<'de> for RuntimeFeesConfig
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<RuntimeFeesConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<RuntimeFeesConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for RuntimeFeesConfig
[src]
impl Hash for RuntimeFeesConfig
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
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 as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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>,