Struct ethjson::transaction::Transaction
source · [−]pub struct Transaction {
pub data: Bytes,
pub gas_limit: Uint,
pub gas_price: Uint,
pub nonce: Uint,
pub to: MaybeEmpty<Address>,
pub value: Uint,
pub r: Uint,
pub s: Uint,
pub v: Uint,
}Expand description
Transaction test transaction deserialization.
Fields
data: BytesTransaction data.
gas_limit: UintGas limit.
gas_price: UintGas price.
nonce: UintNonce.
to: MaybeEmpty<Address>To.
value: UintValue.
r: UintR.
s: UintS.
v: UintV.
Trait Implementations
sourceimpl Debug for Transaction
impl Debug for Transaction
sourceimpl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Transaction> for Transaction
impl PartialEq<Transaction> for Transaction
sourcefn eq(&self, other: &Transaction) -> bool
fn eq(&self, other: &Transaction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &Transaction) -> bool
fn ne(&self, other: &Transaction) -> bool
This method tests for !=.
impl StructuralPartialEq for Transaction
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more