Struct evm_state::transactions::UnsignedTransaction[][src]

pub struct UnsignedTransaction {
    pub nonce: U256,
    pub gas_price: U256,
    pub gas_limit: U256,
    pub action: TransactionAction,
    pub value: U256,
    pub input: Vec<u8>,
}

Fields

nonce: U256gas_price: U256gas_limit: U256action: TransactionActionvalue: U256input: Vec<u8>

Implementations

impl UnsignedTransaction[src]

pub fn signing_hash(&self, chain_id: Option<u64>) -> H256[src]

pub fn sign(self, key: &SecretKey, chain_id: Option<u64>) -> Transaction[src]

Trait Implementations

impl Clone for UnsignedTransaction[src]

impl Debug for UnsignedTransaction[src]

impl Decodable for UnsignedTransaction[src]

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

impl Encodable for UnsignedTransaction[src]

impl Eq for UnsignedTransaction[src]

impl From<Transaction> for UnsignedTransaction[src]

impl Ord for UnsignedTransaction[src]

impl PartialEq<UnsignedTransaction> for UnsignedTransaction[src]

impl PartialOrd<UnsignedTransaction> for UnsignedTransaction[src]

impl Serialize for UnsignedTransaction[src]

impl StructuralEq for UnsignedTransaction[src]

impl StructuralPartialEq for UnsignedTransaction[src]

Auto Trait Implementations

impl RefUnwindSafe for UnsignedTransaction

impl Send for UnsignedTransaction

impl Sync for UnsignedTransaction

impl Unpin for UnsignedTransaction

impl UnwindSafe for UnsignedTransaction

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]