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 Call
pub fn new(sender: Address) -> Self
[src]
pub fn new(sender: Address) -> Self
Build 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) -> Self
Modify sender of call.
pub fn gas<E: Into<U256>>(self, gas: E) -> Self
[src]
pub fn gas<E: Into<U256>>(self, gas: E) -> Self
Set 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) -> Self
Set 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) -> Self
Set the call to have the specified value.
Trait Implementations
impl Debug for Call
[src]
impl Debug for Call
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Call
[src]
impl Clone for Call
fn clone(&self) -> Call
[src]
fn clone(&self) -> Call
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 Copy for Call
[src]
impl Copy for Call