Struct pink_web3::types::SignedTransaction
source · [−]pub struct SignedTransaction {
pub message_hash: H256,
pub v: u64,
pub r: H256,
pub s: H256,
pub raw_transaction: Bytes,
pub transaction_hash: H256,
}Expand description
Data for offline signed transaction
Fields
message_hash: H256The given message hash
v: u64V value with chain replay protection.
r: H256R value.
s: H256S value.
raw_transaction: BytesThe raw signed transaction ready to be sent with send_raw_transaction
transaction_hash: H256The transaction hash for the RLP encoded transaction.
Trait Implementations
sourceimpl Clone for SignedTransaction
impl Clone for SignedTransaction
sourcefn clone(&self) -> SignedTransaction
fn clone(&self) -> SignedTransaction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SignedTransaction
impl Debug for SignedTransaction
sourceimpl<'a> From<&'a SignedTransaction> for Recovery
impl<'a> From<&'a SignedTransaction> for Recovery
sourcefn from(tx: &'a SignedTransaction) -> Self
fn from(tx: &'a SignedTransaction) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SignedTransaction> for SignedTransaction
impl PartialEq<SignedTransaction> for SignedTransaction
sourcefn eq(&self, other: &SignedTransaction) -> bool
fn eq(&self, other: &SignedTransaction) -> bool
impl StructuralPartialEq for SignedTransaction
Auto Trait Implementations
impl RefUnwindSafe for SignedTransaction
impl Send for SignedTransaction
impl Sync for SignedTransaction
impl Unpin for SignedTransaction
impl UnwindSafe for SignedTransaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more