Enum vm::ActionValue [−][src]
Transaction value
Variants
Transfer(U256)Value that should be transfered
Apparent(U256)Apparent value for transaction (not transfered)
Methods
impl ActionValue[src]
impl ActionValuepub fn value(&self) -> U256[src]
pub fn value(&self) -> U256Returns action value as U256.
pub fn transfer<T: Into<U256>>(transfer_value: T) -> ActionValue[src]
pub fn transfer<T: Into<U256>>(transfer_value: T) -> ActionValueReturns the transfer action value of the U256-convertable raw value
pub fn apparent<T: Into<U256>>(apparent_value: T) -> ActionValue[src]
pub fn apparent<T: Into<U256>>(apparent_value: T) -> ActionValueReturns the apparent action value of the U256-convertable raw value
Trait Implementations
impl Clone for ActionValue[src]
impl Clone for ActionValuefn clone(&self) -> ActionValue[src]
fn clone(&self) -> ActionValueReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ActionValue[src]
impl Debug for ActionValueAuto Trait Implementations
impl Send for ActionValue
impl Send for ActionValueimpl Sync for ActionValue
impl Sync for ActionValue