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 ActionValue
pub fn value(&self) -> U256
[src]
pub fn value(&self) -> U256
Returns action value as U256.
pub fn transfer<T: Into<U256>>(transfer_value: T) -> ActionValue
[src]
pub fn transfer<T: Into<U256>>(transfer_value: T) -> ActionValue
Returns 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) -> ActionValue
Returns the apparent action value of the U256-convertable raw value
Trait Implementations
impl Clone for ActionValue
[src]
impl Clone for ActionValue
fn clone(&self) -> ActionValue
[src]
fn clone(&self) -> ActionValue
Returns 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 ActionValue
Auto Trait Implementations
impl Send for ActionValue
impl Send for ActionValue
impl Sync for ActionValue
impl Sync for ActionValue