pub struct Options {
pub gas: Option<U256>,
pub gas_price: Option<U256>,
pub value: Option<U256>,
pub nonce: Option<U256>,
pub condition: Option<TransactionCondition>,
}
Expand description
Contract Call/Query Options
Fields§
§gas: Option<U256>
Fixed gas limit
gas_price: Option<U256>
Fixed gas price
value: Option<U256>
Value to transfer
nonce: Option<U256>
Fixed transaction nonce
condition: Option<TransactionCondition>
A condition to satisfy before including transaction.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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