Struct evm_state::transactions::Transaction[][src]

pub struct Transaction {
    pub nonce: U256,
    pub gas_price: Gas,
    pub gas_limit: Gas,
    pub action: TransactionAction,
    pub value: U256,
    pub signature: TransactionSignature,
    pub input: Vec<u8>,
}

Etherium transaction.

Fields

nonce: U256gas_price: Gasgas_limit: Gasaction: TransactionActionvalue: U256signature: TransactionSignatureinput: Vec<u8>

Implementations

impl Transaction[src]

pub fn caller(&self) -> Result<Address, Error>[src]

pub fn address(&self) -> Result<Address, Error>[src]

pub fn signing_hash(&self) -> H256[src]

pub fn tx_id_hash(&self) -> H256[src]

Trait Implementations

impl Clone for Transaction[src]

impl Debug for Transaction[src]

impl Decodable for Transaction[src]

impl<'de> Deserialize<'de> for Transaction[src]

impl Encodable for Transaction[src]

impl Eq for Transaction[src]

impl From<Transaction> for UnsignedTransaction[src]

impl Ord for Transaction[src]

impl PartialEq<Transaction> for Transaction[src]

impl PartialOrd<Transaction> for Transaction[src]

impl Serialize for Transaction[src]

impl StructuralEq for Transaction[src]

impl StructuralPartialEq for Transaction[src]

Auto Trait Implementations

impl RefUnwindSafe for Transaction

impl Send for Transaction

impl Sync for Transaction

impl Unpin for Transaction

impl UnwindSafe for Transaction

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> MaybeDebug for T where
    T: Debug
[src]

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

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]