pub struct Transaction {
pub address: Address,
pub sender: Address,
pub code: Bytes,
pub data: Bytes,
pub gas: Uint,
pub gas_price: Uint,
pub origin: Address,
pub value: Uint,
pub code_version: Uint,
}Expand description
Executed transaction.
Fields§
§address: AddressContract address.
sender: AddressTransaction sender.
code: BytesContract code.
data: BytesInput data.
gas: UintGas.
gas_price: UintGas price.
origin: AddressTransaction origin.
value: UintSent value.
code_version: UintContract code version.
Trait Implementations§
Source§impl Debug for Transaction
impl Debug for Transaction
Source§impl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
Source§fn 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
Source§impl PartialEq for Transaction
impl PartialEq for Transaction
impl StructuralPartialEq for Transaction
Auto Trait Implementations§
impl Freeze for Transaction
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more