[−]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 rent
burnt_gas_reward: Fraction
Fraction of the burnt gas to reward to the contract account for execution.
Methods
impl RuntimeFeesConfig
[src]
pub fn free() -> RuntimeFeesConfig
[src]
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,
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: Deserialize<'de>,
[src]
T: 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> 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>,