[][src]Struct in3_sys::eth_tx

#[repr(C)]pub struct eth_tx {
    pub hash: bytes32_t,
    pub block_hash: bytes32_t,
    pub block_number: u64,
    pub from: address_t,
    pub gas: u64,
    pub gas_price: u64,
    pub data: bytes_t,
    pub nonce: u64,
    pub to: address_t,
    pub value: uint256_t,
    pub transaction_index: c_int,
    pub signature: [u8; 65],
}

A transaction

Fields

hash: bytes32_t

< the blockhash

block_hash: bytes32_t

< hash of ther containnig block

block_number: u64

< number of the containing block

from: address_t

< sender of the tx

gas: u64

< gas send along

gas_price: u64

< gas price used

data: bytes_t

< data send along with the transaction

nonce: u64

< nonce of the transaction

to: address_t

< receiver of the address 0x0000.. -Address is used for contract creation.

value: uint256_t

< the value in wei send

transaction_index: c_int

< the transaction index

signature: [u8; 65]

< signature of the transaction

Trait Implementations

impl Clone for eth_tx[src]

impl Copy for eth_tx[src]

impl Debug for eth_tx[src]

Auto Trait Implementations

impl !Send for eth_tx

impl !Sync for eth_tx

impl Unpin for eth_tx

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.