Enum near_vm_logic::ActionCosts
source · pub enum ActionCosts {
Show 16 variants
create_account,
delete_account,
deploy_contract_base,
deploy_contract_byte,
function_call_base,
function_call_byte,
transfer,
stake,
add_full_access_key,
add_function_call_key_base,
add_function_call_key_byte,
delete_key,
new_action_receipt,
new_data_receipt_base,
new_data_receipt_byte,
delegate,
}
Variants§
create_account
delete_account
deploy_contract_base
deploy_contract_byte
function_call_base
function_call_byte
transfer
stake
add_full_access_key
add_function_call_key_base
add_function_call_key_byte
delete_key
new_action_receipt
new_data_receipt_base
new_data_receipt_byte
delegate
Trait Implementations§
source§impl Clone for ActionCosts
impl Clone for ActionCosts
source§fn clone(&self) -> ActionCosts
fn clone(&self) -> ActionCosts
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 ActionCosts
impl Debug for ActionCosts
source§impl Display for ActionCosts
impl Display for ActionCosts
source§impl Enum for ActionCosts
impl Enum for ActionCosts
source§fn from_usize(value: usize) -> ActionCosts
fn from_usize(value: usize) -> ActionCosts
Takes an usize, and returns an element matching
into_usize
function.source§fn into_usize(self) -> usize
fn into_usize(self) -> usize
Returns an unique identifier for a value within range of
0..Array::LENGTH
.source§impl<V> EnumArray<V> for ActionCosts
impl<V> EnumArray<V> for ActionCosts
source§impl Hash for ActionCosts
impl Hash for ActionCosts
source§impl Index<ActionCosts> for ProfileDataV2
impl Index<ActionCosts> for ProfileDataV2
source§fn index(
&self,
cost: ActionCosts
) -> &<ProfileDataV2 as Index<ActionCosts>>::Output
fn index( &self, cost: ActionCosts ) -> &<ProfileDataV2 as Index<ActionCosts>>::Output
Performs the indexing (
container[index]
) operation. Read moresource§impl IntoEnumIterator for ActionCosts
impl IntoEnumIterator for ActionCosts
type Iterator = ActionCostsIter
fn iter() -> ActionCostsIter ⓘ
source§impl Ord for ActionCosts
impl Ord for ActionCosts
source§fn cmp(&self, other: &ActionCosts) -> Ordering
fn cmp(&self, other: &ActionCosts) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ActionCosts> for ActionCosts
impl PartialEq<ActionCosts> for ActionCosts
source§fn eq(&self, other: &ActionCosts) -> bool
fn eq(&self, other: &ActionCosts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ActionCosts> for ActionCosts
impl PartialOrd<ActionCosts> for ActionCosts
source§fn partial_cmp(&self, other: &ActionCosts) -> Option<Ordering>
fn partial_cmp(&self, other: &ActionCosts) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ActionCosts
impl Eq for ActionCosts
impl StructuralEq for ActionCosts
impl StructuralPartialEq for ActionCosts
Auto Trait Implementations§
impl RefUnwindSafe for ActionCosts
impl Send for ActionCosts
impl Sync for ActionCosts
impl Unpin for ActionCosts
impl UnwindSafe for ActionCosts
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