Enum near_vm_logic::ActionCosts[][src]

pub enum ActionCosts {
    create_account,
    delete_account,
    deploy_contract,
    function_call,
    transfer,
    stake,
    add_key,
    delete_key,
    value_return,
    new_receipt,
}

Variants

create_account
delete_account
deploy_contract
function_call
transfer
stake
add_key
delete_key
value_return
new_receipt

Implementations

impl ActionCosts[src]

pub const fn count() -> usize[src]

pub fn name_of(index: usize) -> &'static str[src]

Trait Implementations

impl Clone for ActionCosts[src]

impl Copy for ActionCosts[src]

impl Debug for ActionCosts[src]

impl Display for ActionCosts[src]

impl Eq for ActionCosts[src]

impl Hash for ActionCosts[src]

impl Ord for ActionCosts[src]

impl PartialEq<ActionCosts> for ActionCosts[src]

impl PartialOrd<ActionCosts> for ActionCosts[src]

impl StructuralEq for ActionCosts[src]

impl StructuralPartialEq for ActionCosts[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.