Struct near_vm_logic::types::GasWeight
source · pub struct GasWeight(pub u64);
Expand description
Weight of unused gas to distribute to scheduled function call actions.
Used in promise_batch_action_function_call_weight
host function.
Tuple Fields§
§0: u64
Trait Implementations§
source§impl PartialEq<GasWeight> for GasWeight
impl PartialEq<GasWeight> for GasWeight
impl Eq for GasWeight
impl StructuralEq for GasWeight
impl StructuralPartialEq for GasWeight
Auto Trait Implementations§
impl RefUnwindSafe for GasWeight
impl Send for GasWeight
impl Sync for GasWeight
impl Unpin for GasWeight
impl UnwindSafe for GasWeight
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