pub struct ActionCreationConfigView {
pub create_account_cost: Fee,
pub deploy_contract_cost: Fee,
pub deploy_contract_cost_per_byte: Fee,
pub function_call_cost: Fee,
pub function_call_cost_per_byte: Fee,
pub transfer_cost: Fee,
pub pledge_cost: Fee,
pub add_key_cost: AccessKeyCreationConfigView,
pub delete_key_cost: Fee,
pub delete_account_cost: Fee,
pub delegate_cost: Fee,
}
Expand description
Describes the cost of creating a specific action, Action
. Includes all variants.
Fields§
§create_account_cost: Fee
Base cost of creating an account.
deploy_contract_cost: Fee
Base cost of deploying a contract.
deploy_contract_cost_per_byte: Fee
Cost per byte of deploying a contract.
function_call_cost: Fee
Base cost of calling a function.
function_call_cost_per_byte: Fee
Cost per byte of method name and arguments of calling a function.
transfer_cost: Fee
Base cost of making a transfer.
pledge_cost: Fee
Base cost of staking.
add_key_cost: AccessKeyCreationConfigView
Base cost of adding a key.
delete_key_cost: Fee
Base cost of deleting a key.
delete_account_cost: Fee
Base cost of deleting an account.
delegate_cost: Fee
Base cost for processing a delegate action.
This is on top of the costs for the actions inside the delegate action.
Trait Implementations§
Source§impl Clone for ActionCreationConfigView
impl Clone for ActionCreationConfigView
Source§fn clone(&self) -> ActionCreationConfigView
fn clone(&self) -> ActionCreationConfigView
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 ActionCreationConfigView
impl Debug for ActionCreationConfigView
Source§impl<'de> Deserialize<'de> for ActionCreationConfigView
impl<'de> Deserialize<'de> for ActionCreationConfigView
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
Source§impl Hash for ActionCreationConfigView
impl Hash for ActionCreationConfigView
Source§impl PartialEq for ActionCreationConfigView
impl PartialEq for ActionCreationConfigView
Source§impl Serialize for ActionCreationConfigView
impl Serialize for ActionCreationConfigView
impl Eq for ActionCreationConfigView
impl StructuralPartialEq for ActionCreationConfigView
Auto Trait Implementations§
impl Freeze for ActionCreationConfigView
impl RefUnwindSafe for ActionCreationConfigView
impl Send for ActionCreationConfigView
impl Sync for ActionCreationConfigView
impl Unpin for ActionCreationConfigView
impl UnwindSafe for ActionCreationConfigView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.