[][src]Struct ethcontract::transaction::build::TransactionOptions

pub struct TransactionOptions {
    pub to: Option<Address>,
    pub gas: Option<U256>,
    pub value: Option<U256>,
    pub data: Option<Bytes>,
    pub nonce: Option<U256>,
}

Shared transaction options that are used when finalizing transactions into either TransactionRequests or raw signed transaction Bytes.

Fields

to: Option<Address>

The receiver of the transaction.

gas: Option<U256>

The amount of gas to use for the transaction.

value: Option<U256>

The ETH value to send with the transaction.

data: Option<Bytes>

The data for the transaction.

nonce: Option<U256>

The transaction nonce.

Trait Implementations

impl Clone for TransactionOptions[src]

impl Debug for TransactionOptions[src]

impl Default for TransactionOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,