Struct unc_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: FeeDescribes the cost of creating an action receipt, ActionReceipt, excluding the actual cost
of actions.
sendcost is burned when a receipt is created usingpromise_createorpromise_batch_createexeccost is burned when the receipt is being executed.
data_receipt_creation_config: DataReceiptCreationConfigViewDescribes the cost of creating a data receipt, DataReceipt.
action_creation_config: ActionCreationConfigViewDescribes the cost of creating a certain action, Action. Includes all variants.
storage_usage_config: StorageUsageConfigViewDescribes fees for storage.
burnt_gas_reward: Rational32Fraction of the burnt gas to reward to the contract account for execution.
pessimistic_gas_price_inflation_ratio: Rational32Pessimistic 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 Freeze for RuntimeFeesConfigView
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