Struct evm_state::transactions::Transaction [−][src]
Etherium transaction.
Fields
nonce: U256
gas_price: Gas
gas_limit: Gas
action: TransactionAction
value: U256
signature: TransactionSignature
input: 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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,