Struct in3::eth1::types::OutgoingTransaction[][src]

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

Transaction type used as i/p for eth_sendTransaction API method.

Fields

from: Address

Address of sender

to: Address

Address of receiver

gas: Option<U256>

Gas

gas_price: Option<U256>

Gas price

value: Option<U256>

Value to transfer in Wei

data: Option<Bytes>

Data

nonce: Option<U256>

Number of transactions made by the sender prior to this one

Trait Implementations

impl Debug for OutgoingTransaction[src]

impl Default for OutgoingTransaction[src]

impl Serialize for OutgoingTransaction[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, 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<V, T> VZip<V> for T where
    V: MultiLane<T>,