Struct near_vm_logic::ExtCostsConfig
source · pub struct ExtCostsConfig {
pub costs: EnumMap<ExtCosts, u64>,
}
Fields§
§costs: EnumMap<ExtCosts, u64>
Implementations§
Trait Implementations§
source§impl Clone for ExtCostsConfig
impl Clone for ExtCostsConfig
source§fn clone(&self) -> ExtCostsConfig
fn clone(&self) -> ExtCostsConfig
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 ExtCostsConfig
impl Debug for ExtCostsConfig
source§impl From<ExtCostsConfigView> for ExtCostsConfig
impl From<ExtCostsConfigView> for ExtCostsConfig
source§fn from(view: ExtCostsConfigView) -> ExtCostsConfig
fn from(view: ExtCostsConfigView) -> ExtCostsConfig
Converts to this type from the input type.
source§impl Hash for ExtCostsConfig
impl Hash for ExtCostsConfig
source§impl PartialEq<ExtCostsConfig> for ExtCostsConfig
impl PartialEq<ExtCostsConfig> for ExtCostsConfig
source§fn eq(&self, other: &ExtCostsConfig) -> bool
fn eq(&self, other: &ExtCostsConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExtCostsConfig
impl StructuralEq for ExtCostsConfig
impl StructuralPartialEq for ExtCostsConfig
Auto Trait Implementations§
impl RefUnwindSafe for ExtCostsConfig
impl Send for ExtCostsConfig
impl Sync for ExtCostsConfig
impl Unpin for ExtCostsConfig
impl UnwindSafe for ExtCostsConfig
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request