Enum multiversx_chain_vm::types::EsdtLocalRole
source · pub enum EsdtLocalRole {
None,
Mint,
Burn,
NftCreate,
NftAddQuantity,
NftBurn,
NftAddUri,
NftUpdateAttributes,
Transfer,
}Expand description
The VM implementation for EsdtLocalRole, used internally in builtin functions.
There is another near-identical implementation in the framework, used for communicating with the VM.
It might be a good idea to move it to some “common ground” crate, between the framework and the VM.
Variants§
Implementations§
source§impl EsdtLocalRole
impl EsdtLocalRole
source§impl EsdtLocalRole
impl EsdtLocalRole
pub fn iter_all() -> Iter<'static, EsdtLocalRole>
Trait Implementations§
source§impl Clone for EsdtLocalRole
impl Clone for EsdtLocalRole
source§fn clone(&self) -> EsdtLocalRole
fn clone(&self) -> EsdtLocalRole
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 EsdtLocalRole
impl Debug for EsdtLocalRole
source§impl<'a> From<&'a [u8]> for EsdtLocalRole
impl<'a> From<&'a [u8]> for EsdtLocalRole
source§impl From<u16> for EsdtLocalRole
impl From<u16> for EsdtLocalRole
source§impl PartialEq for EsdtLocalRole
impl PartialEq for EsdtLocalRole
source§fn eq(&self, other: &EsdtLocalRole) -> bool
fn eq(&self, other: &EsdtLocalRole) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for EsdtLocalRole
impl Eq for EsdtLocalRole
impl StructuralEq for EsdtLocalRole
impl StructuralPartialEq for EsdtLocalRole
Auto Trait Implementations§
impl RefUnwindSafe for EsdtLocalRole
impl Send for EsdtLocalRole
impl Sync for EsdtLocalRole
impl Unpin for EsdtLocalRole
impl UnwindSafe for EsdtLocalRole
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