Enum near_parameters::cost::ActionCosts
source · pub enum ActionCosts {
Show 16 variants
create_account = 0,
delete_account = 1,
deploy_contract_base = 2,
deploy_contract_byte = 3,
function_call_base = 4,
function_call_byte = 5,
transfer = 6,
stake = 7,
add_full_access_key = 8,
add_function_call_key_base = 9,
add_function_call_key_byte = 10,
delete_key = 11,
new_action_receipt = 12,
new_data_receipt_base = 13,
new_data_receipt_byte = 14,
delegate = 15,
}
Variants§
create_account = 0
delete_account = 1
deploy_contract_base = 2
deploy_contract_byte = 3
function_call_base = 4
function_call_byte = 5
transfer = 6
stake = 7
add_full_access_key = 8
add_function_call_key_base = 9
add_function_call_key_byte = 10
delete_key = 11
new_action_receipt = 12
new_data_receipt_base = 13
new_data_receipt_byte = 14
delegate = 15
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§impl<V> EnumArray<V> for ActionCosts
impl<V> EnumArray<V> for ActionCosts
source§impl From<ActionCosts> for FeeParameter
impl From<ActionCosts> for FeeParameter
source§fn from(other: ActionCosts) -> Self
fn from(other: ActionCosts) -> Self
Converts to this type from the input type.
source§impl Hash for ActionCosts
impl Hash for ActionCosts
source§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 for ActionCosts
impl PartialEq 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 for ActionCosts
impl PartialOrd 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<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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.