Struct parables_testing::call::Call  [−][src]
Fields
sender: Address
                           The sender of the call.
gas: U256
                           The amount of gas to include in the call.
gas_price: U256
                           The price willing to pay for gas during the call (in WEI).
value: U256
                           The amount of ethereum attached to the call (in WEI).
Methods
impl Call[src] 
impl Callpub fn new(sender: Address) -> Self[src] 
pub fn new(sender: Address) -> SelfBuild a new call with the given sender.
pub fn sender<S: Into<Address>>(self, sender: S) -> Self[src] 
pub fn sender<S: Into<Address>>(self, sender: S) -> SelfModify sender of call.
pub fn gas<E: Into<U256>>(self, gas: E) -> Self[src] 
pub fn gas<E: Into<U256>>(self, gas: E) -> SelfSet the call to have the specified amount of gas.
pub fn gas_price<E: Into<U256>>(self, gas_price: E) -> Self[src] 
pub fn gas_price<E: Into<U256>>(self, gas_price: E) -> SelfSet the call to have the specified gas price.
pub fn value<E: Into<U256>>(self, value: E) -> Self[src] 
pub fn value<E: Into<U256>>(self, value: E) -> SelfSet the call to have the specified value.
Trait Implementations
impl Debug for Call[src] 
impl Debug for Callfn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Call[src] 
impl Clone for Callfn clone(&self) -> Call[src] 
fn clone(&self) -> CallReturns 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 Copy for Call[src] 
impl Copy for Call