Struct near_parameters::view::RuntimeFeesConfigView
source · pub struct RuntimeFeesConfigView {
pub action_receipt_creation_config: Fee,
pub data_receipt_creation_config: DataReceiptCreationConfigView,
pub action_creation_config: ActionCreationConfigView,
pub storage_usage_config: StorageUsageConfigView,
pub burnt_gas_reward: Rational32,
pub pessimistic_gas_price_inflation_ratio: Rational32,
}
Fields§
§action_receipt_creation_config: Fee
Describes the cost of creating an action receipt, ActionReceipt
, excluding the actual cost
of actions.
send
cost is burned when a receipt is created usingpromise_create
orpromise_batch_create
exec
cost is burned when the receipt is being executed.
data_receipt_creation_config: DataReceiptCreationConfigView
Describes the cost of creating a data receipt, DataReceipt
.
action_creation_config: ActionCreationConfigView
Describes the cost of creating a certain action, Action
. Includes all variants.
storage_usage_config: StorageUsageConfigView
Describes fees for storage.
burnt_gas_reward: Rational32
Fraction of the burnt gas to reward to the contract account for execution.
pessimistic_gas_price_inflation_ratio: Rational32
Pessimistic gas price inflation ratio.
Trait Implementations§
source§impl Clone for RuntimeFeesConfigView
impl Clone for RuntimeFeesConfigView
source§fn clone(&self) -> RuntimeFeesConfigView
fn clone(&self) -> RuntimeFeesConfigView
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 RuntimeFeesConfigView
impl Debug for RuntimeFeesConfigView
source§impl<'de> Deserialize<'de> for RuntimeFeesConfigView
impl<'de> Deserialize<'de> for RuntimeFeesConfigView
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
Auto Trait Implementations§
impl RefUnwindSafe for RuntimeFeesConfigView
impl Send for RuntimeFeesConfigView
impl Sync for RuntimeFeesConfigView
impl Unpin for RuntimeFeesConfigView
impl UnwindSafe for RuntimeFeesConfigView
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