[][src]Struct ethereum_transaction::SignedTransaction

pub struct SignedTransaction<'a> {
    pub transaction: Cow<'a, Transaction>,
    pub v: u64,
    pub r: U256,
    pub s: U256,
}

Fields

transaction: Cow<'a, Transaction>v: u64r: U256s: U256

Methods

impl<'a> SignedTransaction<'a>[src]

pub fn new(
    transaction: Cow<'a, Transaction>,
    chain_id: u64,
    v: u8,
    r: [u8; 32],
    s: [u8; 32]
) -> Self
[src]

pub fn standard_v(&self) -> u8[src]

pub fn chain_id(&self) -> Option<u64>[src]

pub fn hash(&self) -> [u8; 32][src]

pub fn bare_hash(&self) -> [u8; 32][src]

pub fn to_rlp(&self) -> Vec<u8>[src]

Trait Implementations

impl<'a> Serialize for SignedTransaction<'a>[src]

impl<'de, 'a> Deserialize<'de> for SignedTransaction<'a>[src]

impl<'a> Decodable for SignedTransaction<'a>[src]

impl<'a> Encodable for SignedTransaction<'a>[src]

Auto Trait Implementations

impl<'a> Send for SignedTransaction<'a>

impl<'a> Sync for SignedTransaction<'a>

impl<'a> Unpin for SignedTransaction<'a>

impl<'a> UnwindSafe for SignedTransaction<'a>

impl<'a> RefUnwindSafe for SignedTransaction<'a>

Blanket Implementations

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

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,